Skip to content

Commit 94255c5

Browse files
committed
Revert "change delivery of vcf to case level"
This reverts commit caa5154.
1 parent f615163 commit 94255c5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mutant/modules/generic_reporter.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ def create_delivery_metrics(self, fastq_dir: str) -> None:
226226
{
227227
"format": "csv",
228228
"id": self.case,
229-
"path": os.path.join(self.indir, f"{self.ticket}_komplettering.csv"),
229+
"path": os.path.join(
230+
self.indir, f"{self.ticket}_komplettering.csv"
231+
),
230232
"path_index": "~",
231233
"step": "report",
232234
"tag": "SARS-CoV-2-info",
@@ -256,7 +258,7 @@ def create_delivery_metrics(self, fastq_dir: str) -> None:
256258
deliverables["files"].append(
257259
{
258260
"format": "vcf",
259-
"id": self.case,
261+
"id": sampleID,
260262
"path": f"{self.indir}/articNcovNanopore_Genotyping_typeVariants/vcf/{base_sample}.vcf",
261263
"path_index": "~",
262264
"step": "genotyping",
@@ -303,7 +305,7 @@ def create_delivery_metrics(self, fastq_dir: str) -> None:
303305
deliverables["files"].append(
304306
{
305307
"format": "vcf",
306-
"id": self.case,
308+
"id": sampleID,
307309
"path": f"{self.indir}/ncovIllumina_Genotyping_typeVariants/vcf/{base_sample}.vcf",
308310
"path_index": "~",
309311
"step": "genotyping",

0 commit comments

Comments
 (0)