Skip to content

Commit ede505a

Browse files
authored
Update stats_wrapper.py
1 parent 2e554bf commit ede505a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/stats_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
lines = open(input_file).readlines()
2424
count = len(lines)
2525
if count <= lines_per_file:
26-
subprocess.run(f'Rscript --vanilla /home/ec2-user/workspace/data/compare_junctions_hist_v2.R {tag} {input_file}')
26+
subprocess.run(f'Rscript --vanilla /home/ec2-user/workspace/regtools/scripts/compare_junctions_hist_v2.R {tag} {input_file}')
2727
else:
2828
header = lines[0]
2929
lines.pop(0)
@@ -52,7 +52,7 @@
5252
files.sort()
5353
number_of_in_files = len(files)
5454
for file in files:
55-
subprocess.run(f'Rscript --vanilla compare_junctions_hist_v2.R {tag} {file}', shell=True, check=True)
55+
subprocess.run(f'Rscript --vanilla /home/ec2-user/workspace/regtools/scripts/compare_junctions_hist_v2.R {tag} {file}', shell=True, check=True)
5656
output_files = glob.glob("*_out.tsv")
5757
output_files.sort()# glob lacks reliable ordering, so impose your own if output order matters
5858
number_of_out_files = len(output_files)

0 commit comments

Comments
 (0)