mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 05:31:51 +02:00
Add the posibility to add suffix for ADC25generator
This commit is contained in:
parent
dbd8facf06
commit
e383ee97e2
@ -20,6 +20,7 @@ class SetsAction(argparse.Action):
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--debug', action='store_true', help='Debug mode')
|
||||
parser.add_argument("--set",nargs="*",type=str)
|
||||
parser.add_argument("--suffix",type=str)
|
||||
args=parser.parse_args()
|
||||
scriptpath=Path(sys.argv[0]).resolve()
|
||||
datadir=scriptpath.parents[1]/"static"/"data"
|
||||
@ -120,7 +121,7 @@ for t in DataType:
|
||||
Type=getValue(exADC2,exADC3,"type")
|
||||
exADC25=excitationValue(deepcopy(exADC2.initial),deepcopy(exADC2.final),value,Type,T1,isUnsafe,f)
|
||||
ADC25File.excitations.append(exADC25)
|
||||
ADC25File.toFile(outputdir)
|
||||
ADC25File.toFile(outputdir,args.sufix)
|
||||
|
||||
except ValueError as ex:
|
||||
print(ex,file=sys.stderr)
|
Loading…
Reference in New Issue
Block a user