Exemplo n.º 1
0
    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
Exemplo n.º 2
0
    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()]))
Exemplo n.º 3
0
    def __init__(self):

        Workflow.__init__(self, name="Dataset Workflow Test")
Exemplo n.º 4
0
    def __init__(self):

        Workflow.__init__(self, name="Wetness in the Landscape Workflow")
Exemplo n.º 5
0
    def __init__(self):

        Workflow.__init__(self, name="Retrieve Dataset Workflow")

        self.dataset_type = None