Skip to content

Commit

Permalink
gemmi-mtz --check-asu: adjust ASU info (see previous commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Apr 17, 2024
1 parent 195f9ac commit f47af09
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prog/mtz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,11 @@ void check_asu(const Mtz& mtz, bool tnt) {
if (!mtz.is_merged())
printf("NOTE: this is multirecord (unmerged) MTZ file\n");
printf("spacegroup: %s\n", sg->xhm().c_str());
printf("%s ASU convention wrt. standard setting: %s\n",
tnt ? "TNT" : "CCP4", asu.condition_str());
std::string wrt;
if (!tnt && !sg->is_reference_setting())
wrt = " wrt. " + gemmi::get_spacegroup_reference_setting(sg->number).xhm();
printf("%s ASU convention%s: %s\n",
tnt ? "TNT" : "CCP4", wrt.c_str(), asu.condition_str());
printf("inside / outside of ASU: %d / %d\n",
counter, mtz.nreflections - counter);
double dmin = mtz.resolution_high() - 1e-6;
Expand Down

0 comments on commit f47af09

Please sign in to comment.