Skip to content

Commit

Permalink
Merge pull request #30 from rs-station/fofc
Browse files Browse the repository at this point in the history
Phenix outputs include FoFc map coefficients
  • Loading branch information
dennisbrookner authored Dec 4, 2023
2 parents 4a4e6a9 + 796cc89 commit d0cdf43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/matchmaps/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ def rigid_body_refinement_wrapper(
mtz_label_amplitudes = "2FOFCWT"
mtz_label_phases = "PH2FOFCWT"
}
map_coefficients {
map_type = "mFo-DFc"
mtz_label_amplitudes = "FOFCWT"
mtz_label_phases = "PHFOFCWT"
}
}
refine {
strategy = *rigid_body
Expand All @@ -239,7 +244,6 @@ def rigid_body_refinement_wrapper(
}
}
"""
# print('turned off BSS')
else:
with open(input_dir + eff) as file:
eff_contents = file.read()
Expand Down Expand Up @@ -1007,4 +1011,4 @@ def _write_script(utility, arguments, script_name):
with open(script_name + '.sh', "w") as file:
file.write(contents)

return
return

0 comments on commit d0cdf43

Please sign in to comment.