Skip to content

Commit d7993ba

Browse files
committed
migagf - small bug fix in HazardOccurance https://github.com/orgs/NHERI-SimCenter/discussions/352
1 parent de7424f commit d7993ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/performRegionalEventSimulation/regionalGroundMotion/HazardOccurrence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def get_im_exceedance_probility( # noqa: C901, D103
445445
im_name = 'PGA'
446446
elif im_type == 'SA':
447447
if isinstance(period, int) or period.is_integer():
448-
im_name = f'SA({int(period)!s})'
448+
im_name = f'SA({int(period)!s}.0)'
449449
else:
450450
im_name = f'SA({period!s})'
451451
else:

0 commit comments

Comments
 (0)