Skip to content

Commit d784785

Browse files
committed
fix the bug for instrument_merge_flag
1 parent fb5417e commit d784785

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pypaw/window.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ def _core(self, path, param):
199199
if instrument_merge_flag:
200200
# merge multiple instruments
201201
results = merge_windows(windows)
202+
else:
203+
# nothing is done
204+
results = windows
202205

203206
stats_logfile = os.path.join(output_dir, "windows.stats.json")
204207
# stats windows on rand 0

0 commit comments

Comments
 (0)