예제 #1
0
파일: run.py 프로젝트: o-smirnov/Stimela
# -*- 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)
예제 #2
0
파일: run.py 프로젝트: o-smirnov/Stimela
# -*- 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)
예제 #3
0
# -*- 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)

예제 #4
0
파일: run.py 프로젝트: o-smirnov/Stimela
# -*- 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)
예제 #5
0
# -*- 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)
예제 #6
0
파일: run.py 프로젝트: o-smirnov/Stimela
# -*- 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)

예제 #7
0
# -*- 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)