Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
terwill committed Sep 30, 2020
1 parent 478f6d3 commit b8d7aff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iotbx/map_model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,14 @@ def __init__(self,
# Make sure all map_managers have same gridding and symmetry
for m in [map_manager, map_manager_1, map_manager_2]+ \
extra_map_manager_list:
if m and (not ignore_symmetry_conflicts):
if any_map_manager and m and (not ignore_symmetry_conflicts):
if not any_map_manager.is_similar(m,
absolute_angle_tolerance = absolute_angle_tolerance,
absolute_length_tolerance = absolute_length_tolerance,
):
raise Sorry("Map manager '%s' is not similar to '%s': %s" %(
m.file_name,any_map_manager.file_name,
map_manager.warning_message())+
m.warning_message())+
"\nTry 'ignore_symmetry_conflicts=True'")

# Now make sure all models match symmetry using match_map_model_ncs
Expand Down

0 comments on commit b8d7aff

Please sign in to comment.