From 5c581c3c20978a1334ce4475ad0a4297928c30da Mon Sep 17 00:00:00 2001 From: jurjen93 Date: Thu, 1 Feb 2024 17:46:16 +0100 Subject: [PATCH] t --- phasediff_scores/phasediff_selection/source_selection.sh | 2 +- source_selection/phasediff_output.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phasediff_scores/phasediff_selection/source_selection.sh b/phasediff_scores/phasediff_selection/source_selection.sh index c1d4b34c..de115c18 100644 --- a/phasediff_scores/phasediff_selection/source_selection.sh +++ b/phasediff_scores/phasediff_selection/source_selection.sh @@ -30,4 +30,4 @@ while read -r MS; do done <$MSLIST #RETURN SCORES -singularity exec -B $BIND $SIMG python ${SCRIPT_DIR}/phasediff_output.py h5 phasediff_h5s/*.h5 +singularity exec -B $BIND $SIMG python ${SCRIPT_DIR}/phasediff_output.py --h5 phasediff_h5s/*.h5 diff --git a/source_selection/phasediff_output.py b/source_selection/phasediff_output.py index 23e38c17..b555a076 100644 --- a/source_selection/phasediff_output.py +++ b/source_selection/phasediff_output.py @@ -219,7 +219,7 @@ def parse_args(): """ parser = ArgumentParser() - parser.add_argument('h5', nargs='+', help='selfcal phasediff solutions', default=None) + parser.add_argument('--h5', nargs='+', help='selfcal phasediff solutions', default=None) parser.add_argument('--station', help='for one specific station', default=None) parser.add_argument('--all_stations', action='store_true', help='for all stations specifically') return parser.parse_args()