From d5f7a4639fdd19537f58a18b6bec426333966530 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Tue, 1 Oct 2024 22:23:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Add=20a=20comment=20to=20the=20s?= =?UTF-8?q?cript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/register_scrnaseq_run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/register_scrnaseq_run.py b/docs/register_scrnaseq_run.py index dc4b243..59efb08 100644 --- a/docs/register_scrnaseq_run.py +++ b/docs/register_scrnaseq_run.py @@ -13,7 +13,7 @@ def parse_arguments() -> argparse.Namespace: def register_pipeline_io(input_dir: str, output_dir: str, global_run: ln.Run) -> None: - """Registers input and output files and folders for an nf-core/scrnaseq run.""" + """Register input and output artifacts for an `nf-core/scrnaseq` run.""" input_artifacts = ln.Artifact.from_dir(input_dir, run=False) ln.save(input_artifacts) global_run.input_artifacts.set(input_artifacts) @@ -25,7 +25,7 @@ def register_pipeline_io(input_dir: str, output_dir: str, global_run: ln.Run) -> def register_pipeline_metadata(output_dir: str, global_run: ln.Run) -> None: - """Registers nf-core pipeline run metadata stored in the 'pipeline_info' folder.""" + """Register nf-core run metadata stored in the 'pipeline_info' folder.""" ulabel = ln.ULabel(name="nextflow").save() global_run.transform.ulabels.add(ulabel) @@ -67,7 +67,7 @@ def register_pipeline_metadata(output_dir: str, global_run: ln.Run) -> None: ) ln.context.track(transform=scrnaseq_transform) global_run = ln.context.run - register_pipeline_io(args.input, args.output, global_run) register_pipeline_metadata(args.output, global_run) +# the time stamp here won't make sense ln.context.finish()