[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated
Description of changes
The error mentioned in the issue is reproducedby a Snakemake pipeline with rules defined as follows:
# Define the datasets
datasets = ['sciplex_K562', 'sciplex_A549', 'sciplex_MCF7']
# Define the target rule for all datasets
rule all:
input:
expand("prepared_{dataset}.h5ad", dataset=datasets)
# Define the rule to prepare data for each dataset
rule prepare_data:
output: "prepared_{dataset}.h5ad"
run:
import pertpy as pt
adata = pt.data.srivatsan_2020_sciplex3()
output_name = f"prepared_{wildcards.dataset}.h5ad"
open(output_name, 'a').close()
Technical details
Adding a file lock has fixed the issue.
PR Checklist
docs
is updatedDescription of changes The error mentioned in the issue is reproducedby a Snakemake pipeline with rules defined as follows:
Technical details Adding a file lock has fixed the issue.
Additional context