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()