Skip to content

Commit

Permalink
Update to match new EMDB API
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 22, 2023
1 parent d6f8d04 commit 2a26d3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/mmcif/test/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ def test_gmm_parser_local_mrc(self):
def test_gmm_parser_emdb(self):
"""Test GMMParser pointing to an MRC in EMDB"""
def mock_urlopen(url, timeout=None):
txt = '{"EMD-1883":[{"deposition":{"map_release_date":"2011-04-21"'\
',"title":"test details"}}]}'
return StringIO(txt)
return StringIO(
'{"admin": {"key_dates": {"map_release": "2011-04-21"},'
'"title": "test details"}}')
system = MockSystem()
p = IMP.mmcif.metadata._GMMParser()
fname = self.get_input_file_name('emd_1883.map.mrc.gmm.50.txt')
Expand Down

0 comments on commit 2a26d3b

Please sign in to comment.