예제 #1
0
 def options(cls):
     options = ArrayWriter.options()
     options['pack'] = Option('pack', type=bool, default=False, required=False,
                              help=('If specified, dependent variables will be put in one table, instead of creating one '
                                    'table per dependent variable in CSV file'))
     options['separator'] = Option('separator', type=str, default=',', required=False,
                                   help='Defines separator for CSV file, the default is comma: ","')
     
     return options
예제 #2
0
 def options(cls):
     options = ArrayWriter.options()
     options['rivet_analysis_name'] = Option(
         'rivet-analysis-name',
         'r',
         type=str,
         default='RIVET_ANALYSIS_NAME',
         required=False,
         variable_mapping='rivet_analysis_name',
         help='Rivet analysis name, e.g. "ATLAS_2016_I1424838"')
     return options
예제 #3
0
    def options(cls):
        options = ArrayWriter.options()
        options['pack'] = Option(
            'pack',
            type=bool,
            default=False,
            required=False,
            help=
            ('If specified, dependent variables will be put in one table, instead of creating one '
             'table per dependent variable in CSV file'))
        options['separator'] = Option(
            'separator',
            type=str,
            default=',',
            required=False,
            help='Defines separator for CSV file, the default is comma: ","')

        return options
예제 #4
0
 def options(cls):
     options = ArrayWriter.options()
     options['rivet_analysis_name'] = Option('rivet-analysis-name', 'r', type=str, default='RIVET_ANALYSIS_NAME',
                                             required=False, variable_mapping='rivet_analysis_name',
                                             help='Rivet analysis name, e.g. "ATLAS_2016_I1424838"')
     return options