David Palecek
12/12/2025, 12:38 PMcd ~/mag-dev/mag
git checkout dev
git pull
# Run test
nf-test test \
--profile debug,test,apptainer \
--verbose
I am guessing these errors are because of missing files
grep 'error' nfcore-mag_12161.out
> error("Could not find any FASTQ files to concatenate in the process input")
> error("Could not find any FASTQ file pairs to concatenate in the process input")
> if (reads && abund) { error("ERROR: MaxBin2 can only accept one of `reads` or `abund`, no both. Check input.") }
> if (reads && abund) { error("ERROR: MaxBin2 can only accept one of `reads` or `abund`, no both. Check input.") }
> if (reads && abund) { error("ERROR: MaxBin2 can only accept one of `reads` or `abund`, no both. Check input.") }
> if (reads && abund) { error("ERROR: MaxBin2 can only accept one of `reads` or `abund`, no both. Check input.") }
> [7d/83c89d] NOTE: Process `NFCORE_MAG:MAG:BINNING:MAXBIN2 (test_minigut_sample2)` terminated with an error exit status (255) -- Error is ignored
> error("Mode must be one of 'genome', 'proteins', or 'transcriptome'.")
> error("Mode must be one of 'genome', 'proteins', or 'transcriptome'.")
> error("Mode must be one of 'genome', 'proteins', or 'transcriptome'.")
.
.
.
.
In general, how do you go about testing? Do i need nf-core/test-datasets? Do i need to change
params {
modules_testdata_base_path = '<https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/>'
pipelines_testdata_base_path = '<https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/mag>'
}
in mag/tests/nextflow.config? Apologies, so many different errors knot my brain.James Fellows Yates
12/12/2025, 12:58 PMnf-test command you want, for example for test_single_end.conf is:
nf-test test --tag test_single_end --profile +docker --update-snapshot
For exampleDavid Palecek
12/12/2025, 3:06 PM