Skip to content

Commit

Permalink
use RScript instead of R
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Dec 13, 2024
1 parent 905231d commit e986d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snappy_wrappers/snappy_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _run_R(self, cmd: str) -> None:
with open(self._snakemake.log.script, "wt") as f:
print(cmd, file=f)
shell(SnappyWrapper.md5_log.format(log=self._snakemake.log.script))
self._run(f"R --vanilla < {self._snakemake.log.script}", None)
self._run(f"Rscript --vanilla {self._snakemake.log.script}", None)

def run(self, cmd: str) -> None:
self._run_R(cmd)

0 comments on commit e986d12

Please sign in to comment.