diff options
-rwxr-xr-x | scripts/truncate-stream | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/truncate-stream b/scripts/truncate-stream index 0ee4ce34..1725082a 100755 --- a/scripts/truncate-stream +++ b/scripts/truncate-stream @@ -43,6 +43,7 @@ def count_crystals(f, g, start_after, stop_after): in_chunk = 0 if need_end_chunk: g.write(fline) + need_end_chunk = 0 if (stop_after != 0) and (n_crystals_written == stop_after): break |