Patch group of option : types must be callable not a string

This commit is contained in:
2017-07-28 09:36:18 +02:00
parent 9482c663c0
commit da48a9d1af
2 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ from obitools3.dms.dms import DMS # TODO cimport doesn't work
from obitools3.dms.view.view import View, Line_selection # TODO cimport doesn't work
from obitools3.apps.optiongroups import addInputOption
from obitools3.apps.optiongroups import addSequenceInputOption
from functools import reduce
import time
@ -18,7 +18,7 @@ default_config = { 'inputview' : None,
def addOptions(parser):
addInputOption(parser)
addSequenceInputOption(parser)
# TODO put this common group somewhere else but I don't know where
group=parser.add_argument_group('DMS and view options')