Patch scripts called by Snakemake for testing
I am writing tests for snakemake and I am wondering if it is possible to mock some of the functions in the scripts I’m calling from Snakemake. My setup looks like this # Snakemake file rule call_api: input: input.txt output: output.txt shell: “run_script.py” # run_script.py def make_call_to_api(): pass def main(): response = make_call_to_api() # do … Read more