addMises failed for single run of either --stress or --strain
This commit is contained in:
parent
2089726800
commit
f3d2803443
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
||||||
Subproject commit 144e729811024fd5f99225fa10b6d8fa40e7d492
|
Subproject commit def4081e837539dba7c4760abbb340553be66d3c
|
|
@ -38,9 +38,12 @@ parser.add_option('-s','--stress',
|
||||||
action = 'extend', metavar = '<string LIST>',
|
action = 'extend', metavar = '<string LIST>',
|
||||||
help = 'heading(s) of columns containing stress tensors')
|
help = 'heading(s) of columns containing stress tensors')
|
||||||
|
|
||||||
|
parser.set_defaults(strain = [],
|
||||||
|
stress = [],
|
||||||
|
)
|
||||||
(options,filenames) = parser.parse_args()
|
(options,filenames) = parser.parse_args()
|
||||||
|
|
||||||
if options.stress is None and options.strain is None:
|
if options.stress is [] and options.strain is []:
|
||||||
parser.error('no data column specified...')
|
parser.error('no data column specified...')
|
||||||
|
|
||||||
# --- loop over input files -------------------------------------------------------------------------
|
# --- loop over input files -------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue