Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aplowman committed May 11, 2020
1 parent bcf17c7 commit d85edf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matflow_damask/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def read_damask_hdf5_file(hdf5_path, incremental_data, operations=None):
func(**op['args'])

# Deal with specific options:
if op['opts'].get('add_mises', {}):
if op['opts'].get('add_Mises', {}):

if op["name"] == 'add_Cauchy':
label = f'sigma'
Expand All @@ -138,10 +138,10 @@ def read_damask_hdf5_file(hdf5_path, incremental_data, operations=None):

else:
msg = (f'Operation "{op["name"]}" is not compatible with option '
f'"add_mises".')
f'"add_Mises".')
raise ValueError(msg)

sim_data.add_mises(label)
sim_data.add_Mises(label)

volume_element_response = {}
for inc_dat_spec in incremental_data:
Expand Down

0 comments on commit d85edf3

Please sign in to comment.