James Fellows Yates
08/14/2025, 11:54 AMMaxime Garcia
08/14/2025, 12:01 PMJames Fellows Yates
08/14/2025, 12:01 PMJames Fellows Yates
08/14/2025, 12:02 PMJames Fellows Yates
08/14/2025, 12:02 PMSateesh_Peri
08/14/2025, 12:10 PMJames Fellows Yates
08/14/2025, 12:10 PMJames Fellows Yates
08/14/2025, 12:10 PMfile or path` does not seem to be working on alist of filesJames Fellows Yates
08/14/2025, 12:10 PMSateesh_Peri
08/14/2025, 12:11 PMJames Fellows Yates
08/14/2025, 12:12 PMJames Fellows Yates
08/14/2025, 12:12 PMJames Fellows Yates
08/14/2025, 12:12 PMfile(process.out.summary_tables[0][1]).name,
file(process.out.figures[0][1]).name,
and got
groovy.lang.MissingMethodException: No signature of method: static com.askimed.nf.test.lang.extensions.GlobalMethods.file() is applicable for argument types: (ArrayList) values: [[/home/james/git/jfy133/nf-core-modules/.nf-test/tests/8306e8bf75f7060a1bfdaa04f95ebc4b/work/93/c36b4a15ed089b7907f8092efffb82/data_tables/Bdb.csv, ...]]Sateesh_Peri
08/14/2025, 12:13 PM.collect() before .listSateesh_Peri
08/14/2025, 12:13 PMpath(process.out.summary_tables.get(0).get(1)) to debugJames Fellows Yates
08/14/2025, 12:15 PMcollect()?James Fellows Yates
08/14/2025, 12:15 PMJames Fellows Yates
08/14/2025, 12:16 PMJames Fellows Yates
08/14/2025, 12:38 PM[[[id:test, single_end:false], [/home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Bdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Cdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Mdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Ndb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Sdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Wdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/Widb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/48/a129f499f406ff2e35784897934864/data_tables/genomeInformation.csv]]]Sateesh_Peri
08/14/2025, 12:42 PMprintln path(process.out.summary_tables[0][0][1])James Fellows Yates
08/14/2025, 12:42 PMprintln(process.out.summary_tables.get(0).get(1))
which gives me
[/home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Bdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Cdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Mdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Ndb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Sdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Wdb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/Widb.csv, /home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/3a/92334bebf905f24fe45f6b4a1555e4/data_tables/genomeInformation.csv]James Fellows Yates
08/14/2025, 12:45 PMprintln(process.out.summary_tables.get(0).get(1).get(0))
Gives me
/home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/84/f0b27ec8c6fab08a377995a1068928/data_tables/Bdb.csvJames Fellows Yates
08/14/2025, 12:46 PMget(0).get(1) in a path then yeah I get 'can't apply to a ArrayListSateesh_Peri
08/14/2025, 12:48 PMJames Fellows Yates
08/14/2025, 12:50 PMJames Fellows Yates
08/14/2025, 12:50 PMgroovy.lang.MissingMethodException: No signature of method: static [com.askimed.nf](http://com.askimed.nf).test.lang.extensions.GlobalMethods.path() is applicable for argument types: (ArrayList) values: [[/home/james/git/jfy133/nf-core-modules/.nf-test/tests/66dc8e269d3139ec4bfa2b871ea09e8f/work/da/a4e8d724e090c9cd5f963db4eb4db8/data_tables/Bdb.csv, ...]]James Fellows Yates
08/14/2025, 1:00 PMprintln(process.out.summary_tables.get(0).get(1).collect{file(it).listFiles()})
Get's me
[null, null, null, null, null, null, null, null]Maxime Garcia
08/14/2025, 1:12 PMSateesh_Peri
08/14/2025, 1:16 PMassertAll(
{ assert process.success },
{ assert snapshot(
process.out.summary_tables[0][1].collect { file(it).name }.sort(),
process.out.figures[0][1].collect { file(it).name }.sort(),
process.out.fastas,
path(process.out.log[0][1]).readLines().last().contains('Finished the dereplicate operation'),
).match() }
)Sateesh_Peri
08/14/2025, 1:18 PM.name and you ll get md5 of the csv'sJames Fellows Yates
08/15/2025, 6:29 AMJames Fellows Yates
08/15/2025, 6:30 AMnameJames Fellows Yates
08/15/2025, 6:30 AMJames Fellows Yates
08/15/2025, 6:32 AMJames Fellows Yates
08/15/2025, 6:32 AMgroovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.name() is applicable for argument types: () values: []
Possible solutions: take(int), take(int), max(), any(), max(groovy.lang.Closure), any(groovy.lang.Closure)James Fellows Yates
08/15/2025, 6:33 AMJames Fellows Yates
08/15/2025, 6:33 AMJames Fellows Yates
08/15/2025, 6:34 AMJames Fellows Yates
08/15/2025, 6:34 AMJames Fellows Yates
08/15/2025, 6:34 AMpath or file wrapped around itJames Fellows Yates
08/15/2025, 6:34 AMJames Fellows Yates
08/15/2025, 6:35 AMJames Fellows Yates
08/15/2025, 6:35 AMJames Fellows Yates
08/15/2025, 6:36 AMSateesh_Peri
08/15/2025, 6:41 AMMaxime Garcia
08/15/2025, 6:42 AMJames Fellows Yates
08/15/2025, 6:42 AMJames Fellows Yates
08/15/2025, 6:42 AMSateesh_Peri
08/15/2025, 6:43 AMJames Fellows Yates
08/15/2025, 6:43 AM.name out with .csv.sortRows() and actuaylly that does work 🎉James Fellows Yates
08/15/2025, 6:43 AMSateesh_Peri
08/15/2025, 6:43 AMJames Fellows Yates
08/15/2025, 6:43 AMJames Fellows Yates
08/15/2025, 6:44 AMJames Fellows Yates
08/15/2025, 6:44 AMSateesh_Peri
08/15/2025, 6:44 AMMaxime Garcia
08/15/2025, 6:48 AMMaxime Garcia
08/15/2025, 6:49 AMSateesh_Peri
08/15/2025, 6:50 AMMaxime Garcia
08/15/2025, 6:51 AMSateesh_Peri
08/25/2025, 1:54 AM