Skip to content

Commit

Permalink
Update test_cli.py
Browse files Browse the repository at this point in the history
-- flepi_path ../../ addition to the end of the CL command
  • Loading branch information
emprzy committed Jul 2, 2024
1 parent 0b6f8a0 commit 4bee72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_Rscript_inference_main():
# test the same as above using an R script, instead of CliRunner use a command line
os.chdir(os.path.dirname(__file__) + "/tutorial_two_subpops")

returncode, stdout, stderr = command_safe_run("--FLEPI_PATH ../../ Rscript ../../flepimop/main_scripts/inference_main.R -c config_sample_2pop_inference.yml -n 1",
returncode, stdout, stderr = command_safe_run("Rscript ../../flepimop/main_scripts/inference_main.R -c config_sample_2pop_inference.yml -n 1 --flepi_path ../../",
command_name="testing Rscript",
fail_on_fail=False)
assert returncode == 0
Expand Down

0 comments on commit 4bee72b

Please sign in to comment.