Repository navigation
Conversation
|
Warning Rate limit exceeded@ypriverol has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 5 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughAdds a ThermoRawFileParser Nextflow module (process, manifest, conda env, tests), expands test/runtime Nextflow configs and nf-test defaults, updates .gitignore, and introduces a CI workflow that detects changed modules, runs matrix nf-test jobs per changed module, uploads artifacts, and aggregates results. Changes
Sequence Diagram(s)sequenceDiagram
participant GH as GitHub Actions
participant Detect as detect-changed-modules
participant Runner as test-modules (matrix)
participant Store as Artifact Storage
participant Confirm as confirm-pass-tests
GH->>Detect: trigger (push/PR, path-ignore, concurrency, env)
Detect->>Detect: compute changed files → derive modules & test_files
Detect-->>GH: set job outputs (modules, test_files) to drive matrix
GH->>Runner: spawn matrix jobs per module × profile
Runner->>Runner: run per-module nf-test, collect results/artifacts
Runner->>Store: upload artifacts (results, logs, versions)
Confirm->>Store: download all artifacts
Confirm->>Confirm: aggregate results, produce debug output
Confirm->>GH: report overall success/failure
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (3)
tests/modules/bigbio/thermorawfileparser/main.nf (1)
5-15: Test wiring is correct; consider parametrising and downsizing test dataThe DSL2 workflow and inclusion of
THERMORAWFILEPARSERlook fine. However, the hard‑coded HTTP RAW file will make tests dependent on external network and a relatively heavy dataset. Consider:
- Exposing the RAW path via a
params.test_datavariable (with this URL as the default), and- Long‑term, swapping to a much smaller test fixture to keep CI fast and less flaky.
.github/workflows/ci.yml (1)
46-127: Module detection logic is solid; consider improving push diff behaviourThe
detect-changed-modulesjob is well structured: base branch selection, diffing changed files, and derivingorg/modulepairs from bothmodules/andtests/modules/paths is clear and should work for typical PRs.One limitation to be aware of: for non‑PR events you diff
HEAD~1..HEAD, so if a push contains multiple new commits, only the last commit’s changes are inspected. If you want pushes to re-test all modules changed in the whole push, consider instead diffing against the remote base branch (e.g.origin/$BASE_BRANCH...HEAD) for those events as well.modules/bigbio/thermorawfileparser/main.nf (1)
37-48: Wireargs/prefixinto the CLI and quote the input pathThe process definition and I/O look good and match the metadata, but in the script block:
def args = task.ext.args ?: ''anddef prefix = task.ext.prefix ?: "${meta.mzml_id}"are currently unused, so setting these viatask.exthas no effect.- The RAW file path is interpolated without quotes, which can be fragile if paths ever contain spaces.
Consider something along the lines of:
- ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ 2>&1 | tee ${rawfile.baseName}_conversion.log + ThermoRawFileParser.sh ${args} -i="${rawfile}" -f=2 -o=./ 2>&1 | tee "${prefix}_conversion.log"so that custom arguments and a configurable prefix are honoured while keeping the current behaviour by default.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
.github/workflows/ci.yml(1 hunks).gitignore(1 hunks)modules/bigbio/thermorawfileparser/main.nf(1 hunks)modules/bigbio/thermorawfileparser/meta.yml(1 hunks)tests/config/nextflow.config(0 hunks)tests/modules/bigbio/thermorawfileparser/main.nf(1 hunks)tests/modules/bigbio/thermorawfileparser/nextflow.config(1 hunks)
💤 Files with no reviewable changes (1)
- tests/config/nextflow.config
🧰 Additional context used
🪛 GitHub Actions: CI
.gitignore
[error] 16-16: Wrong line endings or no final newline
modules/bigbio/thermorawfileparser/meta.yml
[warning] 1-1: Code style issues found in this file. Run 'prettier --write' to fix.
.github/workflows/ci.yml
[error] 68-68: Trailing whitespace
[error] 73-73: Trailing whitespace
[error] 75-75: Trailing whitespace
[error] 82-82: Trailing whitespace
[error] 85-85: Trailing whitespace
[error] 88-88: Trailing whitespace
[error] 95-95: Trailing whitespace
[error] 104-104: Trailing whitespace
[error] 110-110: Trailing whitespace
[error] 116-116: Trailing whitespace
[error] 149-149: Trailing whitespace
[error] 152-152: Trailing whitespace
[error] 157-157: Trailing whitespace
[error] 159-159: Trailing whitespace
[error] 162-162: Trailing whitespace
🔇 Additional comments (2)
tests/modules/bigbio/thermorawfileparser/nextflow.config (1)
1-3: DynamicpublishDirexpression is appropriateThe
publishDirclosure correctly derives a module-specific directory fromparams.outdirandtask.process, and is nicely aligned with the thermorawfileparser test setup..github/workflows/ci.yml (1)
128-179: Fix test-results output path mismatch and trailing whitespaceThere’s a real path mismatch between where tests write results and where the artifact step looks for them:
- In the run step you
cdintotests/modules/${MODULE_PATH}and then use../../../test_results/${MODULE_PATH}formkdir,--outdir,-with-report, and-with-trace. From that CWD,../../../resolves to<repo-root>/tests, so outputs land undertests/test_results/${MODULE_PATH}.- The upload step, executed from the repo root, uses
path: test_results/${{ matrix.module }}/, i.e.<repo-root>/test_results/${MODULE_PATH}.As a result, artifacts may be missing or empty. To align with the upload step and keep results under
<repo-root>/test_results, update the paths in the run step to go one level higher:- mkdir -p "../../../test_results/${MODULE_PATH}" + mkdir -p "../../../../test_results/${MODULE_PATH}" @@ - nextflow run main.nf \ + nextflow run main.nf \ -c nextflow.config \ -c ../../config/nextflow.config \ - --outdir "../../../test_results/${MODULE_PATH}" \ + --outdir "../../../../test_results/${MODULE_PATH}" \ -with-docker \ - -with-report "../../../test_results/${MODULE_PATH}/report.html" \ - -with-trace "../../../test_results/${MODULE_PATH}/trace.txt" \ + -with-report "../../../../test_results/${MODULE_PATH}/report.html" \ + -with-trace "../../../../test_results/${MODULE_PATH}/trace.txt" \Also,
editorconfig-checkeris flagging trailing whitespace on multiple lines in this block (e.g. around Lines 68, 73, 82, 85, 88, 95, 104, 110, 116, 149, 152, 157, 159, 162). Please strip the trailing spaces so the editorconfig job passes.Likely an incorrect or invalid review comment.
There was a problem hiding this comment.
Actionable comments posted: 5
♻️ Duplicate comments (1)
modules/bigbio/thermorawfileparser/tests/main.nf.test (1)
40-40: Use HTTPS protocol for external file downloads.Same issue as line 17 - use HTTPS instead of HTTP for secure downloads.
Apply this diff:
- file('http://ftp.ebi.ac.uk/pride-archive/2015/12/PXD001819/UPS1_50amol_R3.raw', checkIfExists: false) + file('https://ftp.ebi.ac.uk/pride-archive/2015/12/PXD001819/UPS1_50amol_R3.raw', checkIfExists: false)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
.github/workflows/ci.yml(2 hunks).gitignore(1 hunks)modules/bigbio/thermorawfileparser/main.nf(1 hunks)modules/bigbio/thermorawfileparser/meta.yml(1 hunks)modules/bigbio/thermorawfileparser/tests/main.nf.test(1 hunks)modules/bigbio/thermorawfileparser/tests/nextflow.config(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- modules/bigbio/thermorawfileparser/tests/nextflow.config
🚧 Files skipped from review as they are similar to previous changes (1)
- modules/bigbio/thermorawfileparser/meta.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: docker | bigbio/thermorawfileparser
- GitHub Check: docker | bigbio/thermorawfileparser
🔇 Additional comments (7)
.gitignore (1)
223-227: Line endings and final newline are correct.The .gitignore file uses LF line endings and ends with a newline character as required. No issues detected.
modules/bigbio/thermorawfileparser/tests/main.nf.test (1)
17-17: Consider test reliability with external dependencies.The test relies on downloading a file from an external FTP server, which could cause intermittent failures if the server is unavailable or slow. Consider hosting test data within the repository or using a mocked/local file for more reliable CI/CD execution.
modules/bigbio/thermorawfileparser/main.nf (3)
7-9: LGTM!Container definition properly handles both Singularity and Docker with appropriate BioContainers image references.
11-27: LGTM!The adaptive stageInMode logic with progressive retry strategies (link → symlink/copy → copy) is appropriate for handling transient failures across different executors.
50-61: LGTM with note on inconsistency.The stub implementation correctly uses
prefixfor output file naming. However, note the inconsistency with the script section (lines 37-48) whereprefixis unused. This inconsistency should be resolved as mentioned in the earlier comment..github/workflows/ci.yml (2)
77-119: Verify git diff logic handles edge cases correctly.The fallback at line 90 uses two different diff strategies (
$BASE_SHA...HEADvsHEAD~1 HEAD), which have different semantics. Withfetch-depth: 0set on line 75, the three-dot diff should succeed in all contexts (both PR and push). Consider verifying:
- Does the fallback ever trigger, or is it unreachable?
- If it does, do the two strategies produce consistent module detection?
The current logic may work, but the fallback should either be justified or simplified.
158-208: Verify artifact upload paths and test results handling.The test-modules job uploads artifacts at
test_results/${{ matrix.module }}/(line 207), where TAP results are written totest_results/${MODULE_PATH}/test.tap(line 199). Ensure this structure aligns with how downstream jobs or logs consume these artifacts.Additionally, verify that the nf-test installation method (line 179) is acceptable for your security posture, though this approach is standard in the Nextflow community.
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (2)
.github/workflows/ci.yml (1)
213-237: Makeconfirm-pass-testsbehavior explicit whentest-modulesis skipped.Right now, if
test-modulesis skipped (no changed modules), this job still runs (due toif: always()), none of the conditional steps match (failure/cancelled/success), and the job silently succeeds. That’s acceptable, but the intent is a bit opaque.Consider collapsing the result handling into a single step that always runs and handles
success/failure/cancelled/skippedexplicitly (e.g., via acaseon${{ needs.test-modules.result }}), so it’s obvious in logs why the job passed when tests were skipped.#!/bin/bash # Optional: show how needs.*.result looks for different scenarios to confirm behavior. cat <<'EOF' Use the existing "Debug" step output ("toJSON(needs)" and "toJSON(needs.*.result)") from a run where test-modules is skipped vs executed, and confirm: - When skipped: needs.test-modules.result == "skipped" - When executed: values are "success"/"failure"/"cancelled" Then decide if you want to special-case "skipped" in a single shell step. EOFmodules/bigbio/thermorawfileparser/main.nf (1)
37-47: Remove or wire upargs/prefixto avoid dead and misleading config.
argsandprefixare defined but not used, sotask.ext.args/task.ext.prefixappear configurable yet have no effect. This was already raised earlier and is still present.Either remove them or pass
argsthrough to the command (and dropprefixif not needed). For example, if you want to support extra CLI flags:- def args = task.ext.args ?: '' - def prefix = task.ext.prefix ?: "${meta.mzml_id}" + def args = task.ext.args ?: '' @@ - ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ 2>&1 | tee ${rawfile.baseName}_conversion.log + ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ ${args} 2>&1 | tee ${rawfile.baseName}_conversion.logOr, if you don’t need this configurability, just drop both variables entirely.
What are the recommended CLI flags and image names for ThermoRawFileParser 1.4.5 in BioContainers/nf-core modules, and do they typically expose an args/ext.args passthrough?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
.github/workflows/ci.yml(2 hunks)modules/bigbio/thermorawfileparser/main.nf(1 hunks)modules/bigbio/thermorawfileparser/tests/main.nf.test(1 hunks)nf-test.config(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- nf-test.config
🧰 Additional context used
🪛 GitHub Actions: CI
modules/bigbio/thermorawfileparser/tests/main.nf.test
[error] 1-1: Docker image pull failed: biocontainers/thermorawfileparser:1.4.5--h05cac1d_1 not accessible. docker login may be required.
🔇 Additional comments (1)
modules/bigbio/thermorawfileparser/tests/main.nf.test (1)
10-50: Tests look well-structured and aligned with the module outputs.The nf-test cases cover both a real conversion and stub mode with sensible assertions on success, versions, mzML output, and logs; no issues from a CI/test-structure perspective.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/config/nextflow.config(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: CI
tests/config/nextflow.config
[error] 1-1: Unknown config attribute PROFILE -- check config file: /home/runner/work/nf-modules/nf-modules/tests/config/nextflow.config. nf-test run failed for module bigbio/thermorawfileparser: two tests failed; exit code 1.
🔇 Additional comments (2)
tests/config/nextflow.config (2)
1-13: LGTM for params and process configuration.The params block (lines 1-5) and process resourceLimits (lines 7-13) are correctly structured and set reasonable defaults for test execution.
36-44: LGTM for registry and conda configuration.The registry settings (lines 36-38) and conda timeout (line 41) are appropriate. The manifest nextflowVersion constraint (line 44) ensures a compatible Nextflow version.
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
tests/config/nextflow.config (1)
15-34:$PROFILEconditional is still breaking Nextflow config parsing – switch toprofiles {}or remove itThe
if ("$PROFILE" == "singularity") { ... } else if ...block here is still present and is exactly what CI is complaining about (Unknown config attribute PROFILEfor this file). Nextflow config doesn’t support using$PROFILElike this; you need declarativeprofiles { ... }blocks instead, or to rely solely on the profiles you already defined intests/config/nf-test.config.Given you already have proper profiles there, the simplest safe fix is to delete this conditional and avoid redefining backends here, or to rewrite it into a
profiles {}block mirroring the same settings:-if ("$PROFILE" == "singularity") { - singularity.enabled = true - singularity.autoMounts = true -} else if ("$PROFILE" == "conda") { - conda.enabled = true - conda.channels = ['conda-forge', 'bioconda'] -} else if ("$PROFILE" == "mamba") { - conda.enabled = true - conda.useMamba = true -} else if ("$PROFILE" == "micromamba") { - conda.enabled = true - conda.useMicromamba = true -} else if ("$PROFILE" == "podman") { - podman.enabled = true - podman.runOptions = "--runtime crun --platform linux/x86_64 --systemd=always" -} else { - docker.enabled = true - docker.fixOwnership = true - docker.runOptions = '--platform=linux/amd64' -} +profiles { + singularity { + singularity.enabled = true + singularity.autoMounts = true + } + conda { + conda.enabled = true + conda.channels = ['conda-forge', 'bioconda'] + } + mamba { + conda.enabled = true + conda.useMamba = true + } + micromamba { + conda.enabled = true + conda.useMicromamba = true + } + podman { + podman.enabled = true + podman.runOptions = "--runtime crun --platform linux/x86_64 --systemd=always" + } + docker { + docker.enabled = true + docker.fixOwnership = true + docker.runOptions = '--platform=linux/amd64' + } +}Fixing or removing this block should clear the current nf-test CI errors for the ThermoRawFileParser tests.
🧹 Nitpick comments (1)
modules/bigbio/thermorawfileparser/tests/main.nf.test (1)
31-49: Avoid requiring a realtest_sample.rawfile in the stub testIn stub mode you generally don't want the test to depend on a real local RAW file. As written,
file('test_sample.raw')will fail staging if the file is missing, even with-stub. Consider disabling the existence check (or reusing the same remote test data as the non-stub test):- file('test_sample.raw') + file('test_sample.raw', checkIfExists: false)(or point to
params.test_data['proteomics']['msspectra']['ups1_50amol_r3']withcheckIfExists: falsefor full consistency).
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
modules/bigbio/thermorawfileparser/tests/main.nf.test(1 hunks)tests/config/nextflow.config(1 hunks)tests/config/nf-test.config(1 hunks)tests/config/test_data.config(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- tests/config/test_data.config
🧰 Additional context used
🪛 GitHub Actions: CI
modules/bigbio/thermorawfileparser/tests/main.nf.test
[error] 1-1: nf-test failed for test 'Should convert RAW to mzML' due to Unknown config attribute PROFILE in Nextflow config: /home/runner/work/nf-modules/nf-modules/tests/config/nextflow.config. Nextflow stdout/stderr indicate the version update notice.
[error] 1-1: nf-test failed for test 'Should run stub mode' due to Unknown config attribute PROFILE in Nextflow config: /home/runner/work/nf-modules/nf-modules/tests/config/nextflow.config. Nextflow stdout/stderr indicate the version update notice.
🔇 Additional comments (2)
modules/bigbio/thermorawfileparser/tests/main.nf.test (1)
10-28: Functional conversion test looks solidThe “Should convert RAW to mzML” test follows the expected nf-test pattern (input via
params.test_data,checkIfExists: false, version snapshot, mzML extension check, and single log entry). No blocking issues here.tests/config/nf-test.config (1)
1-101: nf-test configuration looks consistent and ready for CI useThe nf-test config (params, profiles, registries,
includeConfig 'test_data.config', and Nextflow version constraint) is coherent and matches common nf-core-style patterns. I don’t see issues that would block module testing here.
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
modules/bigbio/thermorawfileparser/main.nf (1)
7-10: Docker image namespace is still incorrect; CI will not be able to pull the image.The non-Singularity branch still uses
biocontainers/thermorawfileparser:1.4.5--h05cac1d_1, which is not the canonical BioContainers namespace and will fail to pull in CI. As raised earlier, this should point to thequay.io/biocontainersregistry.Consider:
- container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? - 'https://depot.galaxyproject.org/singularity/thermorawfileparser:1.4.5--h05cac1d_1' : - 'biocontainers/thermorawfileparser:1.4.5--h05cac1d_1' }" + container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? + 'https://depot.galaxyproject.org/singularity/thermorawfileparser:1.4.5--h05cac1d_1' : + 'quay.io/biocontainers/thermorawfileparser:1.4.5--h05cac1d_1' }"Please double-check the exact tag on quay.io for this Bioconda build before merging.
🧹 Nitpick comments (3)
modules/bigbio/thermorawfileparser/main.nf (3)
33-36: Output declaration only supports mzML/mgf; Parquet/None formats via-fwould currently break.The process allows
task.ext.argsto control-f(including Parquet-f=3or-f=4= None per the comment), but the declared output only matches*.{mzML,mgf}. If a user supplies-f=3or-f=4, the tool will not producemzML/mgffiles and Nextflow will fail the task due to missing outputs.If Parquet/None are meant to be supported, consider either:
- Restricting allowed
-fvalues in this module to0/1/2(document it inmeta.yml), or- Extending outputs (and tests/stub) to cover
.parquet/no spectra-output cases.
38-45:formatArgdetection only matches-f=...; may double-append-ffor other syntaxes.
formatArgis computed viaargs.contains('-f=') ? '' : '-f=2', which works if callers always use-f=VALUE. If the CLI also accepts variants like-f 0or a long option (e.g.--output_format), they won’t be detected and you’ll end up passing two-foptions (-f 0 -f=2), which is ambiguous and could cause errors.To make this more robust, you could use a regex that catches any
-f/--output_formatoccurrence, independent of=vs space:- def formatArg = args.contains('-f=') ? '' : '-f=2' + // Avoid adding a second -f/--output_format if user already provided one + def hasFormat = + (args =~ /(^|\s)(-f\b|\-f=|\-\-output_format\b)/).find() + def formatArg = hasFormat ? '' : '-f=2'Please verify the exact flag variants supported by the ThermoRawFileParser version in use and adjust the regex accordingly.
52-67: Stub output extension logic is narrower than the real tool behavior and ignores Parquet/other formats.In the stub,
outputExtis derived only from-f=0→mgf, everything else →mzML:def outputExt = (args =~ /-f=0\b/).find() ? 'mgf' : 'mzML'This means:
- Textual
-f=mgf(if supported) will incorrectly produce.mzMLin stub mode.- Parquet (
-f=3or a text alias) and-f=4are not represented at all; stub will still emit.mzMLeven though the real tool wouldn’t.If you intend the stub to mirror real behavior more closely, consider broadening the pattern and/or explicitly handling Parquet/None, for example:
- def outputExt = (args =~ /-f=0\b/).find() ? 'mgf' : 'mzML' + def mgfPattern = /-f=(0|mgf)\b/ + def parquetPattern = /-f=(3|parquet)\b/ + if ((args =~ mgfPattern).find()) { + outputExt = 'mgf' + } else if ((args =~ parquetPattern).find()) { + outputExt = 'parquet' + } else { + outputExt = 'mzML' + }(And decide what, if anything, to emit for the
Nonecase.)Please align this with the exact flag/format names supported by your ThermoRawFileParser build and your intended module surface (e.g. whether Parquet is really supported here).
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
modules/bigbio/thermorawfileparser/main.nf(1 hunks)modules/bigbio/thermorawfileparser/meta.yml(1 hunks)modules/bigbio/thermorawfileparser/tests/main.nf.test(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
- modules/bigbio/thermorawfileparser/meta.yml
- modules/bigbio/thermorawfileparser/tests/main.nf.test
🔇 Additional comments (2)
modules/bigbio/thermorawfileparser/main.nf (2)
12-28: Stage-in retry strategy looks consistent with common nf-core patterns.The attempt-based
stageInModelogic (link/symlink/copy with AWS Batch special casing) is clear and in line with typical nf-core error-retry strategies; no issues from my side here.
1-69: Overall process structure, retry strategy, and version capture look solid.The process wiring (meta tagging, labels, adaptive
stageInMode, use oftask.ext.args, proper logging, andversions.ymlcapture) is clean and follows established nf-core-style patterns. Once the container image and format edge cases are addressed, this should be in good shape.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@jpfeuffer I took care of most of the issues and recommendations from @copilot. Can you take a look at the PR? I also use most of the CI/CD of nf-core modules. |
|
@ypriverol I've opened a new pull request, #7, to work on those changes. Once the pull request is ready, I'll request review from you. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
* Replaced ".mzml_id" to ".id" * Updated output labels with "prefix" * Updated output to "prefix" --------- Co-authored-by: edircoli <[email protected]>
User description
Pull Request
Description
Checklist
main.nfincludes process definitionmeta.ymlincludes complete documentationenvironment.ymlspecifies dependenciesModule Type
Related Issues
Closes #
PR Type
Enhancement, Tests
Description
Add ThermoRawFileParser module for converting Thermo RAW files to mzML format
Implement automated CI workflow to detect and test changed modules
Include comprehensive module documentation and test configuration
Remove Docker user emulation setting from test configuration
Diagram Walkthrough
File Walkthrough
ci.yml
Add automated module detection and testing workflow.github/workflows/ci.yml
detect-changed-modulesjob to identify modules with test changesusing git diff
test-modulesjob that runs Nextflow tests for changed modules inparallel
modules/andtests/directories
strategy
main.nf
Implement ThermoRawFileParser Nextflow process modulemodules/bigbio/thermorawfileparser/main.nf
to mzML
BioContainers image
executors
meta.yml
Add ThermoRawFileParser module documentationmodules/bigbio/thermorawfileparser/meta.yml
information
nextflow.config
Remove Docker user emulation configurationtests/config/nextflow.config
docker.userEmulation = trueconfiguration settingnextflow.config
Add ThermoRawFileParser test configurationtests/modules/bigbio/thermorawfileparser/nextflow.config
main.nf
Add ThermoRawFileParser module test workflowtests/modules/bigbio/thermorawfileparser/main.nf
file
Summary by CodeRabbit
New Features
Tests
Chores
✏️ Tip: You can customize this high-level summary in your review settings.