Skip to content

Commit bdde386

Browse files
committed
fmk - bug fix in runCMS2 when subtype not in AIM
1 parent e4b8566 commit bdde386

File tree

1 file changed

+1
-1
lines changed
  • modules/performSIMULATION/capacitySpectrum

1 file changed

+1
-1
lines changed

modules/performSIMULATION/capacitySpectrum/runCMS2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def determine_response(AIM_input_path, EVENT_input_path, EDP_input_path): # noq
353353
# TODO(TBD): This is a temporary bugfix because the MultiplePEER app only
354354
# provides event accelerations in "g. We need to fix the MultiPEER app
355355
# and then remove this fix from here
356-
if evt['subtype'] == 'MultiplePEER_Event':
356+
if 'subtype' in evt and evt['subtype'] == 'MultiplePEER_Event':
357357
evt['timeSeries'][0]['factor'] *= simcenter_common.g / f_length_in
358358

359359
#

0 commit comments

Comments
 (0)