Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuwq0 committed Nov 7, 2024
1 parent 2f467d1 commit 39e662b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_phasenet_plus.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run_phasenet(

# %% skip processed files
if not overwrite:
processed = sorted(glob(f"{root_path}/{result_path}/picks_phasenet_plus/????/???/*.csv"))
processed = sorted(glob(f"{root_path}/{result_path}/picks_phasenet_plus/????/???/??/*.csv"))
# processed = sorted(glob(f"{root_path}/{result_path}/picks_phasenet_plus/????/???/*.csv"))
processed = ["/".join(f.replace(".csv", "").split("/")[-subdir - 1 :]) for f in processed]
processed = [p[:-1] for p in processed] ## remove the channel suffix
Expand Down

0 comments on commit 39e662b

Please sign in to comment.