From 60aee9d588e30b1531976e17013bee46305dd3a6 Mon Sep 17 00:00:00 2001 From: jurjen93 Date: Thu, 1 Feb 2024 18:34:56 +0100 Subject: [PATCH] cwl issue --- source_selection/phasediff_output.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source_selection/phasediff_output.py b/source_selection/phasediff_output.py index b555a076..e6323932 100644 --- a/source_selection/phasediff_output.py +++ b/source_selection/phasediff_output.py @@ -237,7 +237,9 @@ def main(): ref_solint = 10 h5s = args.h5 - if h5s is None: + if len(h5s)==1 and ' ' in h5s: + h5s = h5s.split(" ") + elif h5s is None: h5s = glob("P*_phasediff/phasediff0*.h5") if args.station is not None: