Skip to content

Commit

Permalink
multiqc: Add support for --replace-names
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Jun 7, 2024
1 parent da0d5e4 commit 21c3f31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bioluigi/tasks/multiqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class GenerateReport(ScheduledExternalProgramTask):
output_dir = luigi.Parameter()

sample_names = luigi.OptionalParameter(default=None, positional=False)
replace_names = luigi.OptionalParameter(default=None, positional=False)

title = luigi.OptionalParameter(default=None, positional=False)
comment = luigi.OptionalParameter(default=None, positional=False)
Expand All @@ -25,6 +26,8 @@ def program_args(self):
args = [cfg.multiqc_bin, '--outdir', self.output_dir]
if self.sample_names:
args.extend(['--sample-names', self.sample_names])
if self.replace_names:
args.extend(['--replace-names', self.replace_names])
if self.title is not None:
args.extend(['--title', self.title])
if self.comment is not None:
Expand Down

0 comments on commit 21c3f31

Please sign in to comment.