Skip to content

Commit

Permalink
Update import.smk
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf authored Sep 6, 2024
1 parent 88fb25d commit 6fa5405
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions workflow/rules/import.smk
Original file line number Diff line number Diff line change
Expand Up @@ -294,40 +294,3 @@ rule tif_to_zarr_gcs:
config["containers"]["spimprep"]
script:
"../scripts/tif_to_zarr_gcs.py"


rule save_imported_zarr:
"""will be run if save_work=True"""
input:
zarr=lambda wildcards: bids(
root=work,
subject="{subject}",
datatype="micr",
sample="{sample}",
acq="{acq}",
desc="rawfromgcs" if dataset_is_remote(wildcards) else "raw",
suffix="SPIM.zarr",
).format(**wildcards),
output:
zarr=bids(
root="bids/work",
subject="{subject}",
datatype="micr",
sample="{sample}",
acq="{acq}",
desc="raw",
suffix="SPIM.zarr",
),
log:
bids(
root="logs",
datatype="save_imported_zarr",
subject="{subject}",
sample="{sample}",
acq="{acq}",
suffix="log.txt",
),
group:
"preproc"
shell:
"cp -Rv {input} {output}"

0 comments on commit 6fa5405

Please sign in to comment.