Skip to content

Commit cacd358

Browse files
committed
kz - updating dependency to FetchOpenSHA_25_4_1
1 parent 650c939 commit cacd358

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

modules/performRegionalEventSimulation/regionalGroundMotion/ComputeIntensityMeasure.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111

112112
if 'stampede2' not in socket.gethostname():
113113
from FetchOpenQuake import get_site_rup_info_oq
114-
from FetchOpenSHA import * # noqa: F403
114+
#from FetchOpenSHA import * # noqa: F403
115+
from FetchOpenSHA_25_4_1 import * # noqa: F403
115116
import threading # noqa: E402
116117

117118
import ujson # noqa: E402

modules/performRegionalEventSimulation/regionalGroundMotion/CreateScenario.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
import pandas as pd
4949

5050
if 'stampede2' not in socket.gethostname():
51-
from FetchOpenSHA import * # noqa: F403
51+
#from FetchOpenSHA import * # noqa: F403
52+
from FetchOpenSHA_25_4_1 import * # noqa: F403
5253

5354

5455
def get_rups_to_run(scenario_info, user_scenarios, num_scenarios): # noqa: C901, D103

modules/performRegionalEventSimulation/regionalGroundMotion/CreateStation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def __call__(self, *args, **kwargs):
7878

7979

8080
if 'stampede2' not in socket.gethostname():
81-
from FetchOpenSHA import (
81+
#from FetchOpenSHA import (
82+
from FetchOpenSHA_25_4_1 import (
8283
get_site_vs30_from_opensha,
8384
get_site_z1pt0_from_opensha,
8485
get_site_z2pt5_from_opensha,

0 commit comments

Comments
 (0)