From 6d85e288858421caebd1c56ab0b9a83761e2d67a Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Thu, 7 Nov 2024 13:39:06 +0100 Subject: [PATCH] rename the plot_test_mass_shifts.py --- .../pipeline_config/artifacts_mapping.py | 2 -- .../qc/{plot_calibration_map_v2.py => plot_test_mass_shifts.py} | 0 src/depiction_targeted_preproc/workflow/rules/rules_qc.smk | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) rename src/depiction_targeted_preproc/workflow/qc/{plot_calibration_map_v2.py => plot_test_mass_shifts.py} (100%) diff --git a/src/depiction_targeted_preproc/pipeline_config/artifacts_mapping.py b/src/depiction_targeted_preproc/pipeline_config/artifacts_mapping.py index 8b32c3f..ceac7fa 100644 --- a/src/depiction_targeted_preproc/pipeline_config/artifacts_mapping.py +++ b/src/depiction_targeted_preproc/pipeline_config/artifacts_mapping.py @@ -21,8 +21,6 @@ # TODO PipelineArtifact.CALIB_HEATMAP: [ "qc/plot_calibration_map.pdf", - # ->renamed into plot_test_mass_shifts.pdf - # "qc/plot_calibration_map_v2.pdf", ], PipelineArtifact.DEBUG: [ "qc/plot_marker_presence_cv.pdf", diff --git a/src/depiction_targeted_preproc/workflow/qc/plot_calibration_map_v2.py b/src/depiction_targeted_preproc/workflow/qc/plot_test_mass_shifts.py similarity index 100% rename from src/depiction_targeted_preproc/workflow/qc/plot_calibration_map_v2.py rename to src/depiction_targeted_preproc/workflow/qc/plot_test_mass_shifts.py diff --git a/src/depiction_targeted_preproc/workflow/rules/rules_qc.smk b/src/depiction_targeted_preproc/workflow/rules/rules_qc.smk index 37dddf8..8ff6c11 100644 --- a/src/depiction_targeted_preproc/workflow/rules/rules_qc.smk +++ b/src/depiction_targeted_preproc/workflow/rules/rules_qc.smk @@ -106,7 +106,7 @@ rule qc_plot_test_mass_shifts: output: pdf="{sample}/qc/plot_test_mass_shifts.pdf", shell: - "python -m depiction_targeted_preproc.workflow.qc.plot_calibration_map_v2" + "python -m depiction_targeted_preproc.workflow.qc.plot_test_mass_shifts" " --input-mass-shifts {input.mass_shifts}" " --output-pdf {output.pdf}"