Skip to content

Commit

Permalink
💚 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Aug 16, 2024
1 parent 8ccd80c commit 713f779
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/mcmicro_exemplar.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
type="pipeline",
reference="https://github.com/labsyspharm/mcmicro",
)
run = ln.track(transform=transform)
ln.context.track(transform=transform)
run = ln.context.run
# optionally, tag the transform
ulabel = ln.ULabel(name="nextflow").save()
run.transform.ulabels.add(ulabel)
Expand Down
4 changes: 2 additions & 2 deletions docs/register_nf_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
type="pipeline",
reference=args.pipeline_reference,
)
ln.track(transform=transform)
run = ln.dev.run_context.run
ln.context.track(transform=transform)
run = ln.context.run

mcmicro_input = ln.Artifact.filter(key__startswith="exemplar-001")
input_paths = [input_fastq.cache() for input_fastq in mcmicro_input]
Expand Down

0 comments on commit 713f779

Please sign in to comment.