suzannejin
01/20/2025, 2:31 PMprocess.out.plot_png.collect{ file(it[1]).name }, //assert unstable file
but then I get this error:
Test [154b7735] 'test' groovy.lang.MissingMethodException: No signature of method: static com.askimed.nf.test.lang.extensions.GlobalMethods.file() is applicable for argument types: (ArrayList) values: [[/workspace/modules/.nf-test/tests/154b773513d3eb67769ab6d292a5ec57/work/c9/be55426c2f234116c39bf31a29c889/Condition_genotype_WT_KO.gprofiler2.GO:BP.sub_enriched_pathways.png, ...]]
Possible solutions: file(java.lang.String), find(), find(groovy.lang.Closure), use([Ljava.lang.Object;), is(java.lang.Object), with(groovy.lang.Closure)James Fellows Yates
01/20/2025, 2:49 PMJames Fellows Yates
01/20/2025, 2:49 PMsuzannejin
01/21/2025, 10:33 AMJames Fellows Yates
01/21/2025, 10:33 AMflatten() before the name?James Fellows Yates
01/21/2025, 10:34 AMNicolas Vannieuwkerke
01/21/2025, 10:36 AM.collect { file(it).name() } instead of .name() should fix itJames Fellows Yates
01/21/2025, 10:54 AMsuzannejin
01/21/2025, 11:31 AMNicolas Vannieuwkerke
01/21/2025, 11:47 AM