Pierre Lindenbaum
12/04/2025, 2:36 PMsetup {
script:
"""
Files.writeString(Paths.get("test1.bed"), "chr1\t10\t100\n");
"""
}
Thank youMaxime Garcia
12/04/2025, 2:37 PMMaxime Garcia
12/04/2025, 2:38 PMMaxime Garcia
12/04/2025, 2:39 PMSateesh_Peri
12/04/2025, 2:44 PMNicolas Vannieuwkerke
12/04/2025, 2:46 PMPierre Lindenbaum
12/04/2025, 2:50 PMJim Downie
12/04/2025, 2:59 PMPierre Lindenbaum
12/04/2025, 3:01 PMJim Downie
12/04/2025, 3:02 PM$launchDir which points to the directory .nf-test/tests/<hash>/ , which makes sure that the files stay contained to the specific test and makes cleanup nice and easy.Jim Downie
12/04/2025, 3:05 PMcleanup {} block that runs after the test that you can use to clean up anything you did that you don't want to persist!moritz
12/05/2025, 9:24 AM