diff options
author | Thomas White <taw@physics.org> | 2020-08-19 12:30:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-19 12:30:10 +0200 |
commit | 1d8f71504ece9da2164d680d52823a865b60faab (patch) | |
tree | 80104a634b1be9e087937077521100217d8385a2 /src/pattern_sim.c | |
parent | 5f4c120e3c74284e72525d9bb5a9a8da13871968 (diff) |
Remove STREAM_UNITCELL and STREAM_CRYSTALS
These flags weren't orthogonal at all, which was turning some routines
into spaghetti-code.
It's still possible to avoid read/write of peak lists, reflection data
or image data. But that's it.
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index b83677b7..b6988dea 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -1049,8 +1049,7 @@ int main(int argc, char *argv[]) Crystal *cr; /* Get data from next chunk */ - templ_image = stream_read_chunk(st, - STREAM_CRYSTALS); + templ_image = stream_read_chunk(st, 0); if ( templ_image == NULL ) break; if ( templ_image->n_crystals == 0 ) continue; |