addMises failed for single run of either --stress or --strain

This commit is contained in:
Eureka Pai 2019-02-25 19:29:12 -05:00
parent 2089726800
commit f3d2803443
2 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit 144e729811024fd5f99225fa10b6d8fa40e7d492 Subproject commit def4081e837539dba7c4760abbb340553be66d3c

View File

@ -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 -------------------------------------------------------------------------