Skip to content

Commit e48a69c

Browse files
committed
Fix more paths
1 parent 1a09e97 commit e48a69c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import os
22
import subprocess
3+
import importlib.resources
34

45

56
def main():
6-
perl_script = os.path.join(os.path.dirname(__file__), "../perl/get_iFOT_events.pl")
7-
subprocess.run(["perl", perl_script], check=True)
7+
perl_script = importlib.resources.files("replan_central.perl") / "get_iFOT_events.pl"
8+
subprocess.run(["perl", str(perl_script)], check=True)

0 commit comments

Comments
 (0)