catch error in case of exisiting dataset
This commit is contained in:
parent
e649fb195f
commit
4ccd068d3b
|
@ -309,7 +309,10 @@ class TestResult:
|
||||||
default.disallow_modification()
|
default.disallow_modification()
|
||||||
|
|
||||||
time.sleep(2.)
|
time.sleep(2.)
|
||||||
|
try:
|
||||||
default.add_calculation('sigma','#sigma#*0.0+311.','not the Cauchy stress')
|
default.add_calculation('sigma','#sigma#*0.0+311.','not the Cauchy stress')
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
with h5py.File(default.fname,'r') as f:
|
with h5py.File(default.fname,'r') as f:
|
||||||
# h5py3 compatibility
|
# h5py3 compatibility
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue