aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 2d7dd284..68920a55 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
double *ref1;
double *ref2;
double *out;
- struct molecule *mol;
+ UnitCell *cell;
char *outfile = NULL;
char *afile = NULL;
char *bfile = NULL;
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
return 1;
}
- mol = load_molecule();
+ cell = load_cell_from_pdb("molecule.pdb");
ref1 = read_reflections(afile);
if ( ref1 == NULL ) {
ERROR("Couldn't open file '%s'\n", afile);
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
}
}
- write_reflections(outfile, NULL, out, 1, mol->cell);
+ write_reflections(outfile, NULL, out, 1, cell);
return 0;
}