Skip to content

Commit

Permalink
Use subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
nbiederbeck committed May 22, 2023
1 parent 31e2d93 commit f30835a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflow/rules/create_dl3.smk
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ rule cuts_dl2_dl3:
conda:
lstchain_env
output:
build_dir / "dl3/counts_after_gh_theta_cut_Run{run_id}.h5",
build_dir / "dl3/counts/after_gh_theta_cut_{run_id}.h5",
input:
dl2=build_dir / "dl2/dl2_LST-1.Run{run_id}.h5",
irf=build_dir / "irf/calculated/irf_Run{run_id}.fits.gz",
Expand All @@ -125,10 +125,10 @@ rule stack_cuts_dl2_dl3:
conda:
lstchain_env
output:
build_dir / "dl3/counts_after_gh_theta_cut_{norm}.h5",
build_dir / "dl3/counts/after_gh_theta_cut_{norm}_stacked.h5",
input:
data=expand(
build_dir / "dl3/counts_after_gh_theta_cut_Run{run_id}.h5",
build_dir / "dl3/counts/after_gh_theta_cut_{run_id}.h5",
run_id=RUN_IDS,
),
script="scripts/stack_counts_after_cuts.py",
Expand All @@ -143,7 +143,7 @@ rule plot_cuts_dl2_dl3:
output:
build_dir / "plots/counts_after_gh_theta_cut_{norm}.pdf",
input:
data=build_dir / "dl3/counts_after_gh_theta_cut_{norm}.h5",
data=build_dir / "dl3/counts/after_gh_theta_cut_{norm}.h5",
script="scripts/plot_counts_after_cuts.py",
rc=os.environ.get("MATPLOTLIBRC", config_dir / "matplotlibrc"),
shell:
Expand Down

0 comments on commit f30835a

Please sign in to comment.