From f82945f20e7e5e18bd66615e868212e2fd6e2592 Mon Sep 17 00:00:00 2001 From: Oleg Sobolev Date: Fri, 1 Nov 2024 15:17:10 -0700 Subject: [PATCH] Proper check --- iotbx/pdb/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iotbx/pdb/fetch.py b/iotbx/pdb/fetch.py index e9f66e78c2..1c0f6000d6 100644 --- a/iotbx/pdb/fetch.py +++ b/iotbx/pdb/fetch.py @@ -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