# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of fields is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=True, positional=["fitsq", "fitsu", "freqs"], mandatory=["fitsq", "fitsu", "freqs"]) # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of fields is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=True, positional=["antenna-file"], mandatory=["antenna-file"]) # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun args = [config.binary] + parse_parameters(repeat=" ") # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of fields is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=True, positional=["dirty-pdf", "rmsf-fwhm"], mandatory=["dirty-pdf", "rmsf-fwhm"]) # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of fields is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=True, positional=["msname"], mandatory=["msname"]) # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of MSs is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=None, positional=["ms"], mandatory=["ms"], repeat_dict=dict(ms=True)) # run the command if prun(args) is not 0: sys.exit(1)
# -*- coding: future_fstrings -*- import sys from scabha import config, parse_parameters, prun # If a list of fields is given, insert them as repeated arguments. # Other arguments not allowed to be lists. args = [config.binary] + parse_parameters(repeat=None, positional=["ms"], mandatory=["ms"], repeat_dict={'field-names':','}) # run the command if prun(args) is not 0: sys.exit(1)