Skip to content

Commit bfd069f

Browse files
evanroyreesclaude
andcommitted
Fix lineage TaskRun constructor calls for uv field
Add the missing `uv` positional argument to all lineage model TaskRun constructor calls in tests that were missed in the initial commit (LinObserverTest, CmdLineageTest). Signed-off-by: Evan Rees <evanroyrees@gmail.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b679106 commit bfd069f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/nextflow/src/test/groovy/nextflow/cli/CmdLineageTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@ class CmdLineageTest extends Specification {
197197
'this is a script',
198198
[new Parameter( "val", "sample_id","ggal_gut"),
199199
new Parameter("path","reads",["lid://45678/output.txt"])],
200-
null, null, null, null, [:],[], null)
200+
null, null, null, null, null, [:],[], null)
201201
lidFile3.text = encoder.encode(entry)
202202
entry = new FileOutput("path/to/file",new Checksum("45372qe","nextflow","standard"),
203203
"lid://45678", "lid://45678", null, 1234, time, time, null)
204204
lidFile4.text = encoder.encode(entry)
205205
entry = new TaskRun("u345-2346-1stw2", "bar",
206206
new Checksum("abfs2556","nextflow","standard"),
207207
'this is a script',
208-
null,null, null, null, null, [:],[], null)
208+
null,null, null, null, null, null, [:],[], null)
209209
lidFile5.text = encoder.encode(entry)
210210
final network = """\
211211
flowchart TB

modules/nf-lineage/src/test/nextflow/lineage/LinObserverTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ class LinObserverTest extends Specification {
682682
new Parameter("path", "file1", ['lid://78567890/file1.txt']),
683683
new Parameter("path", "file2", [[path: normalizer.normalizePath(file), checksum: [value:fileHash, algorithm: "nextflow", mode: "standard"]]]),
684684
new Parameter("val", "id", "value")
685-
], null, null, null, null, [:], [], "lid://hash")
685+
], null, null, null, null, null, [:], [], "lid://hash")
686686
def dataOutput1 = new FileOutput(outFile1.toString(), new Checksum(fileHash1, "nextflow", "standard"),
687687
"lid://1234567890", "lid://hash", "lid://1234567890", attrs1.size(), LinUtils.toDate(attrs1.creationTime()), LinUtils.toDate(attrs1.lastModifiedTime()) )
688688
def dataOutput2 = new FileOutput(outFile2.toString(), new Checksum(fileHash2, "nextflow", "standard"),

0 commit comments

Comments
 (0)