Hello, I am failing to run mag dev branch tests. I...
# mag
d
Hello, I am failing to run mag dev branch tests. Is this a correct minimal script?
Copy code
cd ~/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
Copy code
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
Copy code
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.
j
No I think the
nf-test
command you want, for example for
test_single_end.conf
is:
nf-test test --tag test_single_end --profile +docker --update-snapshot
For example
d
Worked, perfect. Thank you