diff options
author | Thomas White <taw@physics.org> | 2011-07-01 18:10:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:31 +0100 |
commit | f249b77f9d3110381b729adca8c061f9fa00d09a (patch) | |
tree | 2447e0f8c6ee5129db75efcb8db030100de08630 /src/reflist-utils.c | |
parent | 0ec021f6e448c7341e1fb0959a9acc3cb8bd6f9a (diff) |
Remove anything which deletes a reflection or optimises a RefList
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r-- | src/reflist-utils.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/reflist-utils.c b/src/reflist-utils.c index 0ae1f31b..016fa317 100644 --- a/src/reflist-utils.c +++ b/src/reflist-utils.c @@ -302,10 +302,7 @@ RefList *read_reflections_from_file(FILE *fh) if ( rval == NULL ) continue; chomp(line); - if ( strcmp(line, REFLECTION_END_MARKER) == 0 ) { - optimise_reflist(out); - return out; - } + if ( strcmp(line, REFLECTION_END_MARKER) == 0 ) return out; r = sscanf(line, "%i %i %i %f %s %f %s %i %f %f", &h, &k, &l, &intensity, phs, &sigma, ress, &cts, @@ -321,7 +318,7 @@ RefList *read_reflections_from_file(FILE *fh) double ph; char *v; - refl = add_serialised_refl(out, h, k, l); + refl = add_refl(out, h, k, l); set_int(refl, intensity); set_detector_pos(refl, 0.0, fs, ss); set_esd_intensity(refl, sigma); |