From d79e90a428846d5944633bbe334cafd0ed9fc926 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 26 Mar 2010 18:23:32 +0100 Subject: Don't try to render PDBs, part III: tidy up and fix --- src/compare_hkl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compare_hkl.c') 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; } -- cgit v1.2.3