Coverage for python/lsst/ctrl/execute/runOrcaParser.py : 90%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
#!/usr/bin/env python
# # LSST Data Management System # Copyright 2008-2016 LSST Corporation. # # This product includes software developed by the # LSST Project (http://www.lsst.org/). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the LSST License Statement and # the GNU General Public License along with this program. If not, # see <http://www.lsstcorp.org/LegalNotices/>. #
"""An argument parser for the orchestration config file generation and execution """
"""Construct a RunOrcaParser @param argv: list containing the command line arguments @return: the parser options and remaining arguments """
"""Parse command line, and test for required arguments @param argv: list containing the command line arguments @return: the parser options and remaining arguments """
((-c COMMAND -i INPUTDATAFILE) | (-D DAGSCRIPT -I INPUTSCRIPT)) \ [-N NODESET] \ [-n IDSPERJOB] \ [-r DEFAULTROOT] \ [-l LOCALSCRATCH] \ [-d DATADIRECTORY] \ [-F FILESYSTEMDOMAIN] \ [-u USER_NAME] \ [-H USER_HOME] \ [-P PLATFORMCONFIG] \ [-R RUNID] \ [-v] [-s SETUP SETUP]") default=None, help="platform", required=True)
default=None, help="command") default=None, help="list of ids")
default=None, help="dag script") default=None, help="input script")
default=None, help="eups path", required=True) default=None, dest="nodeSet", help="name of collection of nodes to use (required by some platforms)", required=False) default=None, dest="idsPerJob", help="ids per job") default=None, help="remote working directory for Condor") default=None, help="local staging directory for Condor") default=None, help="where the data is located")
default=None, help="file system domain") default=False, help="verbose")
parser.print_help() parser.exit()
"""Accessor method to get options set on initialization @return opts: command line options """ |