Skip to content

Commit

Permalink
Proper check
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsobolev committed Nov 1, 2024
1 parent b2a2b58 commit f82945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iotbx/pdb/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_link(mirror, entity, pdb_id=None, emdb_number=None, link_templates=all_l
assert mirror in link_templates.keys()
if entity not in link_templates[mirror].keys():
return None
if entity == 'map':
if entity.find('map') > 0:
assert emdb_number
else:
assert pdb_id
Expand Down

0 comments on commit f82945f

Please sign in to comment.