Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geojunky committed Jul 10, 2023
1 parent 8a84854 commit 526407d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seismic/bulk_station_orientations.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import seismic.receiver_fn.rf_util as rf_util
from seismic.receiver_fn.rf_plot_utils import pdf_merge
from seismic.stream_io import get_obspyh5_index

from seismic.misc import split_list
from seismic.network_event_dataset import NetworkEventDataset
from seismic.swp_station_orientations import analyze_station_orientations as swp_station_orientations, load_grv
from seismic.rf_station_orientations import analyze_station_orientations as rf_station_orientations
Expand Down Expand Up @@ -208,7 +208,7 @@ def main(src_h5_event_file, network, output_basename, station_list):
proc_hdfkeys = rf_util.trim_hdf_keys(proc_hdfkeys, network, station_list)

# split work-load over all procs
proc_hdfkeys = rf_util.split_list(proc_hdfkeys, nproc)
proc_hdfkeys = split_list(proc_hdfkeys, nproc)
tempdir = os.path.join(os.path.dirname(output_basename), str(uuid.uuid4()))
os.makedirs(tempdir, exist_ok=True)
# end if
Expand Down

0 comments on commit 526407d

Please sign in to comment.