Skip to content

Commit

Permalink
Fix Rscript path
Browse files Browse the repository at this point in the history
  • Loading branch information
rrwick committed Sep 28, 2021
1 parent 7a4dc87 commit ae58eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trycycler/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def create_tree_script(temp_dir, phylip):
newick = phylip.replace('.phylip', '.newick')
tree_script = temp_dir / 'tree.R'
with open(tree_script, 'wt') as f:
f.write('#!/usr/bin/Rscript\n')
f.write('#!/usr/bin/env Rscript\n')
f.write('library(ape)\n')
f.write('library(phangorn)\n')
f.write(f'distances <- readDist("{phylip}")\n')
Expand Down

0 comments on commit ae58eed

Please sign in to comment.