def process_arguments(self, args): # Call method on super class # super(self.__class__, self).process_arguments(args) Workflow.process_arguments(self, args) self.dataset_type = args.dataset_type
def setup_arguments(self): # Call method on super class # super(self.__class__, self).setup_arguments() Workflow.setup_arguments(self) self.parser.add_argument("--dataset-type", help="The type of dataset to process", action="store", dest="dataset_type", type=dataset_type_arg, choices=self.get_supported_dataset_types(), required=True, metavar=" ".join( [dataset_type.name for dataset_type in self.get_supported_dataset_types()]))
def __init__(self): Workflow.__init__(self, name="Dataset Workflow Test")
def __init__(self): Workflow.__init__(self, name="Wetness in the Landscape Workflow")
def __init__(self): Workflow.__init__(self, name="Retrieve Dataset Workflow") self.dataset_type = None