Skip to content

First iteration for thermorawfileparser - #2

Merged
ypriverol merged 60 commits into
mainfrom
dev
Dec 11, 2025
Merged

ypriverol merged 60 commits into
mainfrom
dev

Conversation

@ypriverol

@ypriverol ypriverol commented Dec 10, 2025 •

Copy link
Copy Markdown
Contributor

User description

Pull Request

Description

Checklist

  • Module follows nf-core standards
  • main.nf includes process definition
  • meta.yml includes complete documentation
  • environment.yml specifies dependencies
  • Tests are included
  • Code is formatted (prettier)
  • CI checks pass

Module Type

  • New module
  • Module update
  • Bug fix
  • Documentation

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

flowchart LR
  A["New ThermoRawFileParser Module"] --> B["Process Definition"]
  A --> C["Module Documentation"]
  A --> D["Test Configuration"]
  E["CI Workflow Enhancement"] --> F["Detect Changed Modules"]
  E --> G["Run Module Tests"]
  F --> G
Loading

File Walkthrough

Relevant files
Enhancement
ci.yml
Add automated module detection and testing workflow           

.github/workflows/ci.yml

  • Add detect-changed-modules job to identify modules with test changes
    using git diff
  • Add test-modules job that runs Nextflow tests for changed modules in
    parallel
  • Extract module paths from changed files in modules/ and tests/
    directories
  • Convert detected modules to JSON array for GitHub Actions matrix
    strategy
+136/-0 
main.nf
Implement ThermoRawFileParser Nextflow process module       

modules/bigbio/thermorawfileparser/main.nf

  • Create new THERMORAWFILEPARSER process for converting Thermo RAW files
    to mzML
  • Configure container support for both Singularity and Docker using
    BioContainers image
  • Implement adaptive staging strategy with retry logic for different
    executors
  • Generate version information and conversion logs as outputs
+50/-0   
Documentation
meta.yml
Add ThermoRawFileParser module documentation                         

modules/bigbio/thermorawfileparser/meta.yml

  • Document ThermoRawFileParser module with description and keywords
  • Define input specification for Thermo RAW files with metadata map
  • Specify output files including converted mzML, logs, and version
    information
  • Include author attribution and tool documentation links
+44/-0   
Configuration changes
nextflow.config
Remove Docker user emulation configuration                             

tests/config/nextflow.config

  • Remove docker.userEmulation = true configuration setting
  • Keep Docker enablement for test execution
+0/-1     
nextflow.config
Add ThermoRawFileParser test configuration                             

tests/modules/bigbio/thermorawfileparser/nextflow.config

  • Configure publish directory for test outputs based on process name
  • Set output path structure for test results organization
+4/-0     
Tests
main.nf
Add ThermoRawFileParser module test workflow                         

tests/modules/bigbio/thermorawfileparser/main.nf

  • Create test workflow for ThermoRawFileParser module
  • Configure test input with sample metadata and remote PRIDE archive RAW
    file
  • Include module import and workflow execution for testing
+16/-0   

Summary by CodeRabbit

  • New Features

    • Added ThermoRawFileParser module to convert RAW to mzML/mgf/parquet with version capture, resilient staging/retries, and explicit outputs.
    • CI: per-module changed-file detection, matrix-driven test execution, workflow concurrency, and workflow-level environment/version variables.
  • Tests

    • New test suite for ThermoRawFileParser (conversion and stub modes), with profile-driven runs and artifact/version snapshots.
    • New test-runner defaults and shared proteomics test data.
  • Chores

    • Updated ignore rules and consolidated test/runtime configuration defaults.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Dec 10, 2025 •

Copy link
Copy Markdown

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

📥 Commits

Reviewing files that changed from the base of the PR and between 0c5840d and af29ddc.

📒 Files selected for processing (3)
  • modules/bigbio/thermorawfileparser/main.nf (1 hunks)
  • modules/bigbio/thermorawfileparser/meta.yml (1 hunks)
  • modules/bigbio/thermorawfileparser/tests/nextflow.config (1 hunks)

Note

Other AI code review bot(s) detected

CodeRabbit 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.

Walkthrough

Adds 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

Cohort / File(s) Change Summary
CI workflow
​.github/workflows/ci.yml
Adds path-ignore for meta.yml, workflow-level concurrency and env vars, and three jobs: detect-changed-modules (computes changed modules & test_files), test-modules (matrix-driven per-module nf-test with profiles, uploads artifacts), and confirm-pass-tests (downloads artifacts, aggregates results, sets overall status).
Repository ignores
​.gitignore
Activates ignore rules for .abstra/, .vscode/, .cursor*, .cursor/, .idea/, .codacy, Nextflow outputs (work/, results/, logs, reports, dag.svg), .DS_Store, testing artifacts, and Python .pyc files.
ThermoRawFileParser module
modules/bigbio/thermorawfileparser/main.nf, modules/bigbio/thermorawfileparser/meta.yml, modules/bigbio/thermorawfileparser/environment.yml
Adds THERMORAWFILEPARSER process with tag/labels, conditional container vs conda selection, stageInMode logic by task.attempt and executor, inputs/outputs emitting convert_files, versions, log, runs ThermoRawFileParser.sh and writes versions.yml; provides environment.yml.
ThermoRawFileParser tests & test config
modules/bigbio/thermorawfileparser/tests/main.nf.test, modules/bigbio/thermorawfileparser/tests/nextflow.config
Adds nf-test suite with two tests (RAW→mzML conversion and stub mode) including assertions and version snapshots; test nextflow.config customizes process.publishDir and disables ext.prefix for the process.
nf-test defaults
nf-test.config, tests/config/nf-test.config
Adds nf-test.config (testsDir, workDir, configFile) and a comprehensive tests/config/nf-test.config with profile-driven execution options (conda/mamba/micromamba/docker/podman/singularity/etc.), registries, extended conda timeout, test-data include, resource defaults, and Nextflow version manifest constraint.
Global test/runtime Nextflow configs & test data
tests/config/nextflow.config, tests/config/test_data.config
Replaces docker-only test config with profile-driven config, adds process resource limits and includeConfig 'test_data.config'; adds proteomics test-data entry referencing a RAW file under params.test_data.

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
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

  • Focus areas:
    • .github/workflows/ci.yml: changed-file detection logic, matrix generation, artifact upload/download paths, concurrency/group key semantics.
    • modules/bigbio/thermorawfileparser/main.nf: stageInMode per-attempt branching, executor-specific behavior, container vs conda selection, emits and versions handling.
    • modules/bigbio/thermorawfileparser/tests/main.nf.test: test inputs, assertions, snapshots, and stub behavior.
    • tests/config/* and nf-test.config: profile flags, resource defaults, and consistency with CI nf-test invocation.

Poem

🐰 I hopped through code at morning's light,
New parser, tests, and CI in sight,
Detecting changes, runners hum,
Artifacts wrapped, versions come,
A rabbit cheers: "Green build tonight!"

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'First iteration for thermorawfileparser' is vague and generic, using non-descriptive terminology that doesn't convey meaningful information about the primary changes in the changeset. Use a more specific title that describes the main change, such as 'Add ThermoRawFileParser Nextflow module' or 'Add thermorawfileparser module with CI and tests'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@qodo-code-review

qodo-code-review Bot commented Dec 10, 2025 •

Copy link
Copy Markdown

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🔴
Insecure HTTP download

Description: The test workflow downloads an external RAW file over plain HTTP
(http://ftp.ebi.ac.uk/...) which can be tampered with via MITM and may introduce
supply-chain risks; use HTTPS and/or integrity verification (e.g., checksum) instead.
main.nf [11-11]

Referred Code
    file('http://ftp.ebi.ac.uk/pride-archive/2015/12/PXD001819/UPS1_50amol_R3.raw', checkIfExists: false)
]
⚪
Unpinned container image

Description: The CI runs Nextflow with -with-docker but does not pin the Docker image digest, allowing
image tag biocontainers/thermorawfileparser:1.4.5--h05cac1d_1 (used in the module) to
change upstream and potentially execute untrusted code; pin by digest (e.g., @sha256:...)
or a trusted registry with digest verification.
ci.yml [141-172]

Referred Code
  uses: nf-core/setup-nextflow@v1
  with:
      version: "23.10.0"

- name: Run test for ${{ matrix.module }}
  run: |
      MODULE_PATH="${{ matrix.module }}"
      TEST_DIR="tests/modules/${MODULE_PATH}"

      echo "Testing module: ${MODULE_PATH}"
      echo "Test directory: ${TEST_DIR}"

      if [ ! -d "${TEST_DIR}" ]; then
          echo "Error: Test directory ${TEST_DIR} not found"
          exit 1
      fi

      cd "${TEST_DIR}"

      # Create output directory
      mkdir -p "../../../test_results/${MODULE_PATH}"


 ... (clipped 11 lines)
Unpinned container image

Description: The process container reference uses a mutable image tag without digest
(biocontainers/thermorawfileparser:1.4.5--h05cac1d_1 or Singularity URL), enabling
supply-chain attacks if the tag is retagged; pin to immutable digests (Docker @sha256: or
Singularity sha256:) and verify provenance.
main.nf [7-9]

Referred Code
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' }"
Shell command robustness

Description: The script constructs a shell command that writes logs using the raw file basename and
pipes through tee without explicit quoting of variables and without set -euo pipefail,
which can lead to unexpected behavior or injection via filenames; quote variables and
enable strict shell options.
main.nf [42-47]

Referred Code
ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ 2>&1 | tee ${rawfile.baseName}_conversion.log

cat <<-END_VERSIONS > versions.yml
"${task.process}":
    ThermoRawFileParser: \$(ThermoRawFileParser.sh --version)
END_VERSIONS
Ticket Compliance
⚪
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
⚪
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

⚪
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status:
Action Logging: The module performs file conversion without emitting structured audit logs that include
user ID, timestamp, action details, and outcome, making audit trail completeness unclear.

Referred Code
tuple val(meta), path("*.mzML"), emit: mzmls_converted
path "versions.yml",   emit: versions
path "*.log",   emit: log

script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.mzml_id}"

"""
ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ 2>&1 | tee ${rawfile.baseName}_conversion.log

cat <<-END_VERSIONS > versions.yml
"${task.process}":
    ThermoRawFileParser: \$(ThermoRawFileParser.sh --version)
END_VERSIONS
"""

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status:
Edge Cases: The CI script assumes jq availability and specific git diff contexts and lacks explicit
error handling for empty/invalid module detection and network failures during tests.

Referred Code
- name: Install jq
  run: sudo apt-get update && sudo apt-get install -y jq

- name: Detect changed modules
  id: set-modules
  run: |
      # Get base branch for comparison
      if [ "${{ github.event_name }}" == "pull_request" ]; then
          BASE_BRANCH="${{ github.event.pull_request.base.ref }}"
      else
          BASE_BRANCH="${{ github.base_ref }}"
      fi

      # Fallback to main if base_ref is empty
      if [ -z "$BASE_BRANCH" ]; then
          BASE_BRANCH="main"
      fi

      echo "Comparing against base branch: $BASE_BRANCH"

      # Get changed files


 ... (clipped 50 lines)

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status:
External Input: The test workflow downloads a RAW file over HTTP without validation or checksum
verification, which may pose security and integrity risks.

Referred Code
input = [
    [ id:'test', mzml_id:'test_sample' ], // meta map
    file('http://ftp.ebi.ac.uk/pride-archive/2015/12/PXD001819/UPS1_50amol_R3.raw', checkIfExists: false)
]

Learn more about managing compliance generic rules or creating your own custom rules

  • Update
Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@ypriverol ypriverol changed the title Dev First iteration for thermorawfileparser Dec 10, 2025
@qodo-code-review

qodo-code-review Bot commented Dec 10, 2025 •

Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
High-level
Re-evaluate custom CI script for maintainability

The complex shell script for detecting changed modules should be extracted from
the CI workflow file into a separate, manageable script. A better alternative
would be to use a standard tool, possibly from the nf-core ecosystem, to handle
selective testing.

Examples:

.github/workflows/ci.yml [61-126]
              run: |
                  # Get base branch for comparison
                  if [ "${{ github.event_name }}" == "pull_request" ]; then
                      BASE_BRANCH="${{ github.event.pull_request.base.ref }}"
                  else
                      BASE_BRANCH="${{ github.base_ref }}"
                  fi
                  
                  # Fallback to main if base_ref is empty
                  if [ -z "$BASE_BRANCH" ]; then

 ... (clipped 56 lines)

Solution Walkthrough:

Before:

# .github/workflows/ci.yml
detect-changed-modules:
    runs-on: ubuntu-latest
    steps:
        - name: Detect changed modules
          id: set-modules
          run: |
              # Over 60 lines of complex shell script
              if [ "${{ github.event_name }}" == "pull_request" ]; then
                  BASE_BRANCH="..."
              else
                  ...
              fi
              CHANGED_FILES=$(git diff --name-only ...)
              CHANGED_MODULES=()
              while IFS= read -r file; do
                  # ... regex matching and array appending ...
              done <<< "$CHANGED_FILES"
              MODULES_JSON=$(... | jq ...)
              echo "modules=$MODULES_JSON" >> $GITHUB_OUTPUT

After:

# .github/workflows/ci.yml
detect-changed-modules:
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v4
        - name: Detect changed modules
          id: set-modules
          # Logic is moved to a separate, testable script
          run: |
            MODULES_JSON=$(./.github/scripts/detect-changed-modules.sh)
            echo "modules=$MODULES_JSON" >> $GITHUB_OUTPUT

# .github/scripts/detect-changed-modules.sh
#!/bin/bash
# The ~60 lines of shell script logic are now here,
# making the CI workflow cleaner and the script
# independently testable and maintainable.
# ...
# echo $MODULES_JSON
Suggestion importance[1-10]: 9

__

Why: This suggestion correctly identifies a major architectural flaw in the CI implementation, as the large inline script is hard to maintain and test, and proposes a more robust, industry-standard solution.

High
Possible issue
Prevent masking of command failures

Add set -o pipefail to the script block to ensure that if ThermoRawFileParser.sh
fails, its non-zero exit code is propagated, preventing the task from being
incorrectly marked as successful.

modules/bigbio/thermorawfileparser/main.nf [42]

+set -o pipefail
 ThermoRawFileParser.sh -i=${rawfile} -f=2 -o=./ 2>&1 | tee ${rawfile.baseName}_conversion.log
  • Apply / Chat
Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies a critical issue where a command failure would be masked by the pipe to tee, causing the Nextflow task to succeed incorrectly and preventing proper error handling.

High
✅ Fix incorrect detection of changed files
Suggestion Impact:The workflow changed its diff strategy to avoid relying solely on HEAD~1; it now computes CHANGED_FILES via a base SHA (base PR commit or HEAD~1) with a three-dot range and adds a fallback, improving changed-file detection. While it didn't exactly use github.event.before/after, it addressed the core issue of incorrect detection across multiple commits.

code diff:

+                  # Get base commit for comparison
                   if [ "${{ github.event_name }}" == "pull_request" ]; then
-                      BASE_BRANCH="${{ github.event.pull_request.base.ref }}"
+                      BASE_SHA="${{ github.event.pull_request.base.sha }}"
                   else
-                      BASE_BRANCH="${{ github.base_ref }}"
-                  fi
-                  
-                  # Fallback to main if base_ref is empty
-                  if [ -z "$BASE_BRANCH" ]; then
-                      BASE_BRANCH="main"
-                  fi
-                  
-                  echo "Comparing against base branch: $BASE_BRANCH"
-                  
+                      BASE_SHA="HEAD~1"
+                  fi
+
+                  echo "Comparing against: $BASE_SHA"
+
                   # Get changed files
-                  if [ "${{ github.event_name }}" == "pull_request" ]; then
-                      CHANGED_FILES=$(git diff --name-only origin/$BASE_BRANCH...HEAD)
-                  else
-                      CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD)
-                  fi
-                  
+                  CHANGED_FILES=$(git diff --name-only $BASE_SHA...HEAD || git diff --name-only HEAD~1 HEAD)
+

For push events, use git diff --name-only ${{ github.event.before }} ${{
github.event.after }} instead of git diff --name-only HEAD~1 HEAD to correctly
detect all changed files across multiple commits in a single push.

.github/workflows/ci.yml [76-81]

 # Get changed files
 if [ "${{ github.event_name }}" == "pull_request" ]; then
     CHANGED_FILES=$(git diff --name-only origin/$BASE_BRANCH...HEAD)
 else
-    CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD)
+    # For push events, compare the full commit range of the push
+    CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }})
 fi

[Suggestion processed]

Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies a bug where the workflow would fail to detect all changed files in a push containing multiple commits, potentially causing tests to be skipped.

Medium
General
Improve logic for detecting changed modules

Refactor the two separate if statements used for checking file paths in modules/
and tests/modules/ into a more efficient and readable if/elif structure to avoid
redundant checks.

.github/workflows/ci.yml [86-115]

 # Extract unique module paths
 CHANGED_MODULES=()
 
 while IFS= read -r file; do
     # Check if file is in modules directory
     if [[ "$file" =~ ^modules/([^/]+)/([^/]+)/ ]]; then
         org="${BASH_REMATCH[1]}"
         module="${BASH_REMATCH[2]}"
         module_path="${org}/${module}"
         
         # Check if test exists for this module
         if [ -d "tests/modules/${module_path}" ]; then
             # Add to list if not already present
             if [[ ! " ${CHANGED_MODULES[@]} " =~ " ${module_path} " ]]; then
                 CHANGED_MODULES+=("${module_path}")
             fi
         fi
-    fi
-    
     # Also check if test files themselves changed
-    if [[ "$file" =~ ^tests/modules/([^/]+)/([^/]+)/ ]]; then
+    elif [[ "$file" =~ ^tests/modules/([^/]+)/([^/]+)/ ]]; then
         org="${BASH_REMATCH[1]}"
         module="${BASH_REMATCH[2]}"
         module_path="${org}/${module}"
         
         if [[ ! " ${CHANGED_MODULES[@]} " =~ " ${module_path} " ]]; then
             CHANGED_MODULES+=("${module_path}")
         fi
     fi
 done <<< "$CHANGED_FILES"
  • Apply / Chat
Suggestion importance[1-10]: 4

__

Why: The suggestion correctly points out that an if/elif structure would be more efficient and readable than two separate if statements, as a file path cannot match both conditions.

Low
  • Update

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 data

The DSL2 workflow and inclusion of THERMORAWFILEPARSER look 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_data variable (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 behaviour

The detect-changed-modules job is well structured: base branch selection, diffing changed files, and deriving org/module pairs from both modules/ and tests/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: Wire args/prefix into the CLI and quote the input path

The process definition and I/O look good and match the metadata, but in the script block:

  • def args = task.ext.args ?: '' and def prefix = task.ext.prefix ?: "${meta.mzml_id}" are currently unused, so setting these via task.ext has 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

📥 Commits

Reviewing files that changed from the base of the PR and between 92aaf8e and 2033ad5.

📒 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: Dynamic publishDir expression is appropriate

The publishDir closure correctly derives a module-specific directory from params.outdir and task.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 whitespace

There’s a real path mismatch between where tests write results and where the artifact step looks for them:

  • In the run step you cd into tests/modules/${MODULE_PATH} and then use ../../../test_results/${MODULE_PATH} for mkdir, --outdir, -with-report, and -with-trace. From that CWD, ../../../ resolves to <repo-root>/tests, so outputs land under tests/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-checker is 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.

Comment thread .gitignore Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 2033ad5 and c0d2d2a.

📒 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 prefix for output file naming. However, note the inconsistency with the script section (lines 37-48) where prefix is 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...HEAD vs HEAD~1 HEAD), which have different semantics. With fetch-depth: 0 set on line 75, the three-dot diff should succeed in all contexts (both PR and push). Consider verifying:

  1. Does the fallback ever trigger, or is it unreachable?
  2. 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 to test_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.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .gitignore Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (2)
.github/workflows/ci.yml (1)

213-237: Make confirm-pass-tests behavior explicit when test-modules is skipped.

Right now, if test-modules is skipped (no changed modules), this job still runs (due to if: 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/skipped explicitly (e.g., via a case on ${{ 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.
EOF
modules/bigbio/thermorawfileparser/main.nf (1)

37-47: Remove or wire up args/prefix to avoid dead and misleading config.

args and prefix are defined but not used, so task.ext.args / task.ext.prefix appear configurable yet have no effect. This was already raised earlier and is still present.

Either remove them or pass args through to the command (and drop prefix if 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.log

Or, 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

📥 Commits

Reviewing files that changed from the base of the PR and between c0d2d2a and c3565a2.

📒 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c3565a2 and 3f26080.

📒 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.

Comment thread tests/config/nextflow.config Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
tests/config/nextflow.config (1)

15-34: $PROFILE conditional is still breaking Nextflow config parsing – switch to profiles {} or remove it

The if ("$PROFILE" == "singularity") { ... } else if ... block here is still present and is exactly what CI is complaining about (Unknown config attribute PROFILE for this file). Nextflow config doesn’t support using $PROFILE like this; you need declarative profiles { ... } blocks instead, or to rely solely on the profiles you already defined in tests/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 real test_sample.raw file in the stub test

In 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'] with checkIfExists: false for full consistency).

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3f26080 and 5f7de07.

📒 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 solid

The “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 use

The 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 the quay.io/biocontainers registry.

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 -f would currently break.

The process allows task.ext.args to control -f (including Parquet -f=3 or -f=4 = None per the comment), but the declared output only matches *.{mzML,mgf}. If a user supplies -f=3 or -f=4, the tool will not produce mzML/mgf files and Nextflow will fail the task due to missing outputs.

If Parquet/None are meant to be supported, consider either:

  • Restricting allowed -f values in this module to 0/1/2 (document it in meta.yml), or
  • Extending outputs (and tests/stub) to cover .parquet/no spectra-output cases.

38-45: formatArg detection only matches -f=...; may double-append -f for other syntaxes.

formatArg is computed via args.contains('-f=') ? '' : '-f=2', which works if callers always use -f=VALUE. If the CLI also accepts variants like -f 0 or a long option (e.g. --output_format), they won’t be detected and you’ll end up passing two -f options (-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_format occurrence, 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, outputExt is 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 .mzML in stub mode.
  • Parquet (-f=3 or a text alias) and -f=4 are not represented at all; stub will still emit .mzML even 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 None case.)

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

📥 Commits

Reviewing files that changed from the base of the PR and between f30d2ea and f4dc885.

📒 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 stageInMode logic (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 of task.ext.args, proper logging, and versions.yml capture) 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ypriverol

Copy link
Copy Markdown
Contributor Author

I think we need to check the copilot review first. It has some good points.

How did you set up CI for this repo? Is this copied from somewhere or written from scratch?

I wonder if we could borrow something for testing from nf-core.

@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.

Copilot AI commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

@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.

Copilot AI mentioned this pull request Dec 11, 2025
8 of 11 tasks

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ypriverol
ypriverol merged commit 9257962 into main Dec 11, 2025
This was referenced Dec 27, 2025
ypriverol pushed a commit that referenced this pull request Mar 14, 2026
* Replaced ".mzml_id" to ".id"

* Updated output labels with "prefix"

* Updated output to "prefix"

---------

Co-authored-by: edircoli <[email protected]>
daichengxin added a commit that referenced this pull request Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants