Remove unnecessary config class
This commit is contained in:
@@ -7,16 +7,13 @@ Author: Jochen Stahn (algorithms, python draft),
|
||||
import os
|
||||
import logging
|
||||
|
||||
from eos.options import LSConfig
|
||||
from eos.command_line import commandLineArgs
|
||||
|
||||
def main():
|
||||
logging.getLogger().setLevel(logging.CRITICAL)
|
||||
clas = commandLineArgs([LSConfig], 'eosls', extra_args=[
|
||||
clas = commandLineArgs([], 'eosls', extra_args=[
|
||||
dict(dest='path', nargs='*', default=['.'], help='paths to list file in')])
|
||||
|
||||
config = LSConfig.from_args(clas)
|
||||
|
||||
from glob import glob
|
||||
import tabulate
|
||||
from eos.file_reader import AmorHeader
|
||||
|
||||
@@ -750,7 +750,3 @@ class E2HConfig:
|
||||
reader: ReaderConfig
|
||||
experiment: ExperimentConfig
|
||||
reduction: E2HReductionConfig
|
||||
|
||||
@dataclass
|
||||
class LSConfig(ArgParsable):
|
||||
...
|
||||
Reference in New Issue
Block a user