Commit 5fa2f496 authored by Thomas White's avatar Thomas White
Browse files

get_hkl: Load the cell for resolution purposes, not just when rendering

parent f0433274
......@@ -195,6 +195,7 @@ int main(int argc, char *argv[])
char *filename = NULL;
ReflItemList *input_items;
ReflItemList *write_items;
UnitCell *cell = NULL;
/* Long options */
const struct option longopts[] = {
......@@ -258,6 +259,7 @@ int main(int argc, char *argv[])
}
mol = load_molecule(filename);
cell = load_cell_from_pdb(filename);
if ( !config_nophase ) {
phases = new_list_phase();
} else {
......@@ -319,8 +321,7 @@ int main(int argc, char *argv[])
union_items(write_items, input_items);
}
write_reflections(output, write_items, ideal_ref, phases, NULL,
mol->cell);
write_reflections(output, write_items, ideal_ref, phases, NULL, cell);
delete_items(input_items);
delete_items(write_items);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment