Back to home page

EIC code displayed by LXR

 
 

    


Warning, /detector_benchmarks/benchmarks/material_scan/Snakefile is written in an unsupported language. File is not indexed.

0001 rule material_scan_fetch_script:
0002     output:
0003       "material_scan.py",
0004     singularity: EIC_SINGULARITY_CONTAINER,
0005     shell: """
0006 curl -L --output {output} https://github.com/eic/epic/raw/main/scripts/subdetector_tests/material_scan.py
0007 """
0008 
0009 rule material_scan:
0010     input:
0011         script="material_scan.py",
0012     output:
0013         "results/material_scan/{DETECTOR_CONFIG}/material_scan.png",
0014         "results/material_scan/{DETECTOR_CONFIG}/material_scan_agg.csv",
0015         "results/material_scan/{DETECTOR_CONFIG}/material_scan_details.pdf",
0016     log:
0017         "results/material_scan/{DETECTOR_CONFIG}/material_scan.log",
0018     shadow: "full" # avoid putting calibrations/fieldmaps to results
0019     singularity: EIC_SINGULARITY_CONTAINER,
0020     shell: """
0021 cd results/material_scan/{wildcards.DETECTOR_CONFIG}
0022 python ../../../{input.script} $DETECTOR_PATH/{wildcards.DETECTOR_CONFIG}.xml
0023 """