Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
938d85e
getting ready to release 1.5.0
ypriverol May 30, 2025
f046a29
Merge branch 'dev' of https://github.com/bigbio/quantms into dev
ypriverol May 31, 2025
e7d68b5
Merge pull request #69 from bigbio/dev
daichengxin May 31, 2025
808893e
Merge branch 'master' of https://github.com/bigbio/quantms into dev
ypriverol Jun 2, 2025
c4aa9be
increase dev version to 1.6.0dev
ypriverol Jun 2, 2025
adc69be
Merge pull request #556 from ypriverol/dev
ypriverol Jun 2, 2025
55d6e35
:bug: update links in README
enryH Jun 5, 2025
ccb7db2
:bug: update broken repository links to nextflow files
enryH Jun 12, 2025
9e96dc0
Small patch with DIA precursor and fragment masses limits.
ypriverol Jul 15, 2025
a909212
update .gitignore
ypriverol Jul 17, 2025
284680a
Template update for nf-core/tools version 3.3.2
ypriverol Jul 17, 2025
5fecb19
Update template 3.3.2
ypriverol Jul 17, 2025
b99a4f8
prettier changes
ypriverol Jul 17, 2025
2ffd146
pre-commit fixed
ypriverol Jul 17, 2025
40c1968
minor changes
ypriverol Jul 17, 2025
3673508
meta files added for multiple subworkflows
ypriverol Jul 17, 2025
e161e06
more changes to decrease warnings in lint
ypriverol Jul 17, 2025
aa5d738
Minor changes with prettier
ypriverol Jul 17, 2025
2e3af55
Merge pull request #560 from bigbio/README_links
ypriverol Jul 17, 2025
eee9941
Merge branch 'dev' of https://github.com/bigbio/quantms into dev
ypriverol Jul 17, 2025
79a0118
minor changes
ypriverol Jul 17, 2025
e30115c
Merge pull request #566 from ypriverol/dev
ypriverol Jul 18, 2025
c99940b
minor changes deleted from template 3.3.2
ypriverol Jul 19, 2025
1ca60d6
Removed duplicated
ypriverol Jul 19, 2025
e0feb1f
remove unnecesary tests
ypriverol Jul 19, 2025
8bc8f9b
move some tools from root folder to their own space
ypriverol Jul 20, 2025
c99963c
Minor changes in the README.md
ypriverol Jul 20, 2025
2c5d148
minor changes
ypriverol Jul 20, 2025
c439836
prettier applied
ypriverol Jul 20, 2025
a60b95a
Increase citations of tools.
ypriverol Jul 20, 2025
980dc2f
clean another TODO
ypriverol Jul 20, 2025
bd04ccd
minor changes README
ypriverol Jul 21, 2025
c3489c2
fixed ro-crate-metadata
ypriverol Jul 21, 2025
18f6bca
Merge pull request #567 from ypriverol/dev
ypriverol Jul 22, 2025
b1c6ede
Merge pull request #70 from bigbio/dev
daichengxin Jul 23, 2025
a1797df
support pmultiqc 0.0.30
yueqixuan Jul 24, 2025
ef25efe
Update pmultiqc 0.0.31
ypriverol Jul 24, 2025
acd056e
Merge pull request #570 from yueqixuan/dev
ypriverol Jul 24, 2025
fe2ab83
Merge pull request #71 from bigbio/dev
daichengxin Jul 25, 2025
bf52325
Support AlphaPeptDeep model
daichengxin Jul 28, 2025
123f1c5
update
daichengxin Jul 28, 2025
a5980cc
Update nextflow_schema.json
daichengxin Jul 28, 2025
0b00cb3
Update nextflow_schema.json
ypriverol Jul 28, 2025
3ab49c8
Merge pull request #571 from daichengxin/dev
ypriverol Jul 29, 2025
73b737b
minor changes in the rescoring version
ypriverol Aug 12, 2025
164b855
rename parameter
daichengxin Aug 13, 2025
fa2710f
Merge pull request #573 from ypriverol/dev
ypriverol Aug 13, 2025
1bc9d79
preparing for release 1.6.0
ypriverol Aug 13, 2025
312d569
Merge branch 'dev' of https://github.com/bigbio/quantms into dev
ypriverol Aug 13, 2025
868264d
minor changes
ypriverol Aug 13, 2025
e058299
pmultiqc 0.0.33
ypriverol Aug 13, 2025
d93d4a7
Update CHANGELOG.md
ypriverol Aug 13, 2025
df49f93
Merge pull request #575 from ypriverol/dev
ypriverol Aug 14, 2025
fb3070b
minor changed in CHANGELOG
ypriverol Aug 14, 2025
7b9d069
minor change
ypriverol Aug 14, 2025
98a04ff
enum ms2 model
daichengxin Aug 14, 2025
f2d0c42
minor changes
ypriverol Aug 14, 2025
b159b77
update ms2 model dir
daichengxin Aug 14, 2025
e1362db
Merge branch 'dev' of https://github.com/bigbio/quantms into pr-574
daichengxin Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ indent_size = unset
# ignore python and markdown
[*.{py,md}]
indent_style = unset

# ignore ro-crate metadata files
[**/ro-crate-metadata.json]
insert_final_newline = unset
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ If you wish to contribute a new step, please use the following coding standards:
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
8. If applicable, add a new test in the `tests` directory.
9. Update MultiQC config `assets/multiqc_config.yml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.

Expand Down
69 changes: 69 additions & 0 deletions .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "Get number of shards"
description: "Get the number of nf-test shards for the current CI job"
inputs:
max_shards:
description: "Maximum number of shards allowed"
required: true
paths:
description: "Component paths to test"
required: false
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
outputs:
shard:
description: "Array of shard numbers"
value: ${{ steps.shards.outputs.shard }}
total_shards:
description: "Total number of shards"
value: ${{ steps.shards.outputs.total_shards }}
runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
id: shards
shell: bash
run: |
# Run nf-test with dynamic parameter
nftest_output=$(nf-test test \
--profile +docker \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--dry-run \
--ci \
--changed-since HEAD^) || {
echo "nf-test command failed with exit code $?"
echo "Full output: $nftest_output"
exit 1
}
Comment thread
ypriverol marked this conversation as resolved.
Resolved
echo "nf-test dry-run output: $nftest_output"

# Default values for shard and total_shards
shard="[]"
total_shards=0

# Check if there are related tests
if echo "$nftest_output" | grep -q 'No tests to execute'; then
echo "No related tests found."
else
# Extract the number of related tests
number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
total_shards="$shards_to_run"
else
echo "Unexpected output format. Falling back to default values."
fi
fi

# Write to GitHub Actions outputs
echo "shard=$shard" >> $GITHUB_OUTPUT
echo "total_shards=$total_shards" >> $GITHUB_OUTPUT

# Debugging output
echo "Final shard array: $shard"
echo "Total number of shards: $total_shards"
109 changes: 109 additions & 0 deletions .github/actions/nf-test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: "nf-test Action"
description: "Runs nf-test with common setup steps"
inputs:
profile:
description: "Profile to use"
required: true
shard:
description: "Shard number for this CI job"
required: true
total_shards:
description: "Total number of test shards(NOT the total number of matrix jobs)"
required: true
paths:
description: "Test paths"
required: true
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
runs:
using: "composite"
steps:
- name: Setup Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ env.NXF_VERSION }}"

- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.13"

- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: "${{ env.NFT_VER }}"
install-pdiff: true

- name: Setup apptainer
if: contains(inputs.profile, 'singularity')
uses: eWaterCycle/setup-apptainer@main

Comment thread
ypriverol marked this conversation as resolved.
Resolved
- name: Set up Singularity
if: contains(inputs.profile, 'singularity')
shell: bash
run: |
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR

Comment thread
ypriverol marked this conversation as resolved.
Resolved
- name: Conda setup
if: contains(inputs.profile, 'conda')
uses: conda-incubator/setup-miniconda@505e6394dae86d6a5c7fbb6e3fb8938e3e863830 # v3
with:
auto-update-conda: true
conda-solver: libmamba
conda-remove-defaults: true

- name: Run nf-test
shell: bash
env:
NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
run: |
nf-test test \
--profile=+${{ inputs.profile }} \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--ci \
--changed-since HEAD^ \
--verbose \
--tap=test.tap \
--shard ${{ inputs.shard }}/${{ inputs.total_shards }}

# Save the absolute path of the test.tap file to the output
echo "tap_file_path=$(realpath test.tap)" >> $GITHUB_OUTPUT

Comment thread
ypriverol marked this conversation as resolved.
Resolved
- name: Generate test summary
if: always()
shell: bash
run: |
# Add header if it doesn't exist (using a token file to track this)
if [ ! -f ".summary_header" ]; then
echo "# 🚀 nf-test results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Status | Test Name | Profile | Shard |" >> $GITHUB_STEP_SUMMARY
echo "|:------:|-----------|---------|-------|" >> $GITHUB_STEP_SUMMARY
touch .summary_header
fi

if [ -f test.tap ]; then
while IFS= read -r line; do
if [[ $line =~ ^ok ]]; then
test_name="${line#ok }"
# Remove the test number from the beginning
test_name="${test_name#* }"
echo "| ✅ | ${test_name} | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
elif [[ $line =~ ^not\ ok ]]; then
test_name="${line#not ok }"
# Remove the test number from the beginning
test_name="${test_name#* }"
echo "| ❌ | ${test_name} | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
fi
done < test.tap
else
echo "| ⚠️ | No test results found | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
fi

- name: Clean up
if: always()
shell: bash
run: |
sudo rm -rf /home/ubuntu/tests/
Comment thread
ypriverol marked this conversation as resolved.
Resolved
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Check out pipeline code
uses: actions/checkout@v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
with:
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

# Install and run pre-commit
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
python-version: "3.13"

Comment thread
ypriverol marked this conversation as resolved.
Resolved
- name: Install pre-commit
run: pip install pre-commit
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: nf-core linting
# It runs the `nf-core pipelines lint` and markdown lint tests to ensure
# that the code meets the nf-core guidelines.
on:
push:
branches:
- dev
pull_request:
release:
types: [published]
Expand All @@ -16,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Set up Python 3.12
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
- name: Set up Python 3.13
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
python-version: "3.13"

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -36,13 +33,13 @@ jobs:
- name: Install Nextflow
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
python-version: "3.13"
architecture: "x64"
Comment on lines +36 to 39

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.

⚠️ Potential issue

Release gating likely broken on release runs (base_ref not set)

On release events, github.base_ref is empty, so the non-release lint step may run and the --release step will be skipped. Also, several steps reference github.event.pull_request.* which is undefined on release runs.

Proposed gating adjustments (outside this hunk):

# Run non-release lint only for PRs
- if: ${{ github.event_name == 'pull_request' && github.base_ref != 'master' }}
# Run release lint for release events (and optionally for PRs to master)
- if: ${{ github.event_name == 'release' || (github.event_name == 'pull_request' && github.base_ref == 'master') }}

Additionally, guard PR-only contexts:

  • Save PR number step: if: ${{ always() && github.event_name == 'pull_request' }}
  • Env vars using github.event.pull_request.*: gate those steps with github.event_name == 'pull_request'.
🤖 Prompt for AI Agents
.github/workflows/linting.yml around lines 36-39: release runs have empty
github.base_ref and steps reference github.event.pull_request.* which breaks
release workflows; update the job gating so the non-release lint only runs for
PRs (e.g., if: github.event_name == 'pull_request' && github.base_ref !=
'master') and the release lint runs for release events (and optionally PRs to
master) (e.g., if: github.event_name == 'release' || (github.event_name ==
'pull_request' && github.base_ref == 'master')); additionally, guard any steps
that read github.event.pull_request.* (for example the "Save PR number" step and
steps that set env vars from that context) with if: github.event_name ==
'pull_request' or if: always() && github.event_name == 'pull_request' as
appropriate so release events never attempt to access undefined pull_request
fields.


- name: read .nf-core.yml
uses: pietrobolcato/[email protected]
uses: pietrobolcato/action-read-yaml@9f13718d61111b69f30ab4ac683e67a56d254e1d # 1.1.0
id: read_yml
with:
config: ${{ github.workspace }}/.nf-core.yml
Expand Down Expand Up @@ -74,7 +71,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: linting-logs
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download lint results
uses: dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
with:
workflow: linting.yml
workflow_conclusion: completed
Expand All @@ -21,7 +21,7 @@ jobs:
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.pr_number.outputs.pr_number }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Read template version from .nf-core.yml
uses: nichmor/[email protected]
uses: nichmor/minimal-read-yaml@1f7205277e25e156e1f63815781db80a6d490b8f # v0.0.2

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.

🛠️ Refactor suggestion

⚠️ Potential issue

Pinning the action is good; however, sanitize PR-controlled input before shell interpolation (command injection risk).

pull_request_target runs with elevated permissions. You read .nf-core.yml from the PR and interpolate ${{ steps.read_yml.outputs['nf_core_version'] }} into pip install nf-core==... (Line 25). A malicious PR could set nf_core_version to inject arbitrary shell. Quote + validate the value strictly, or refuse if invalid. Also consider least-privilege job permissions.

Example hardening (add a validation step before install and use the env var):

- name: Validate nf-core version
  run: |
    version="${{ steps.read_yml.outputs['nf_core_version'] }}"
    if [[ ! "$version" =~ ^[0-9]+(\.[0-9]+){1,2}$ ]]; then
      echo "Invalid nf_core_version: $version"
      exit 1
    fi
    echo "NF_CORE_VERSION=$version" >> "$GITHUB_ENV"

- name: Install nf-core
  run: |
    python -m pip install --upgrade pip
    pip install "nf-core==${NF_CORE_VERSION}"

Additionally, set minimal permissions (GITHUB_TOKEN not needed beyond read):

jobs:
  template_version:
    permissions:
      contents: read
🤖 Prompt for AI Agents
In .github/workflows/template-version-comment.yml around line 17 (and where the
nf_core_version output is used around line 25), the workflow reads a
PR-controlled value and interpolates it directly into a shell command; validate
and sanitize that value before use: add a step that reads
steps.read_yml.outputs['nf_core_version'], validate it strictly with a
numeric-semver regex (reject and fail on anything else), export the validated
value to GITHUB_ENV, and then use that environment variable (quoted) in the
install step to avoid shell interpolation; also restrict job permissions (e.g.,
permissions: contents: read) and avoid unnecessary elevated scopes for
pull_request_target.

id: read_yml
with:
config: ${{ github.workspace }}/.nf-core.yml
Expand Down
5 changes: 3 additions & 2 deletions .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lint:
- .github/workflows/awsfulltest.yml
- .github/workflows/ci.yml
- .github/workflows/download_pipeline.yml
- .github/workflows/nf-test.yml

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.

💡 Verification agent

🧩 Analysis chain

Ensure the referenced workflow exists and path is correct

You added .github/workflows/nf-test.yml to lint.files_exist. Verify the file exists with the exact name/path to avoid lint failures.

Run this script to confirm presence:


🏁 Script executed:

#!/bin/bash
set -euo pipefail
test -f ".github/workflows/nf-test.yml" && echo "OK: .github/workflows/nf-test.yml exists" || { echo "Missing: .github/workflows/nf-test.yml"; exit 1; }

Length of output: 155


Missing referenced workflow .github/workflows/nf-test.yml

The .nf-core.yml at line 10 lists a workflow file that doesn’t exist in the repo:

  • File: .nf-core.yml
    Line 10:
      - .github/workflows/nf-test.yml

Please either add the missing workflow at .github/workflows/nf-test.yml, correct the path to an existing file, or remove this entry to prevent lint failures.

🤖 Prompt for AI Agents
.nf-core.yml around line 10: the file references a non-existent workflow
".github/workflows/nf-test.yml"; fix by either adding the missing workflow file
at that path, updating the entry to point to the correct existing workflow file
path, or removing the entry entirely so the YAML no longer references a file
that isn't in the repo—make the edit consistently in .nf-core.yml and commit the
added workflow file if you choose to add one.

- .gitignore
- conf/modules.config
- conf/igenomes_ignored.config
Expand All @@ -23,7 +24,7 @@ lint:
multiqc_config: false
nextflow_config: false
modules_config: false
nf_core_version: 3.2.1
nf_core_version: 3.3.2
repository_type: pipeline
template:
author: Yasset Perez-Riverol
Expand All @@ -33,4 +34,4 @@ template:
name: quantms
org: bigbio
outdir: .
version: 1.5.0
version: 1.6.0
26 changes: 20 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,24 @@ repos:
hooks:
- id: prettier
additional_dependencies:
- [email protected]

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "3.1.2"
- [email protected]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: editorconfig-checker
alias: ec
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: |
(?x)^(
.*ro-crate-metadata.json$|
modules/nf-core/.*|
subworkflows/nf-core/.*|
.*\.snap$
)$
- id: end-of-file-fixer
exclude: |
(?x)^(
.*ro-crate-metadata.json$|
modules/nf-core/.*|
subworkflows/nf-core/.*|
.*\.snap$
)$
5 changes: 5 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
printWidth: 120
tabWidth: 4
overrides:
- files: "*.{md,yml,yaml,html,css,scss,js,cff}"
options:
tabWidth: 2
Comment on lines +3 to +6

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.

🛠️ Refactor suggestion

CITATION.cff won’t be formatted unless you set the parser to YAML

Prettier won’t infer a parser for .cff. Add a separate override entry targeting CITATION.cff with parser: yaml (don’t set parser on the broader override).

Append this entry to the existing overrides list:

- files: "CITATION.cff"
  options:
    parser: yaml
    tabWidth: 2
🤖 Prompt for AI Agents
.prettierrc.yml around lines 3-6: the current override uses a glob that includes
.cff but Prettier won't infer a parser for CITATION.cff, so append a separate
override entry specifically for "CITATION.cff" that sets options.parser to
"yaml" and options.tabWidth to 2 (do not add parser to the broader override).

⚠️ Potential issue

Override glob only matches root-level files; use a recursive pattern

Current pattern ".{...}" won’t apply to files in subdirectories (e.g., docs/.md). Switch to "**/*.{...}" to ensure overrides apply repo-wide. While at it, include JSON variants to avoid 4-space JSON reformatting churn, and remove "cff" here (see next comment).

Apply this diff:

 overrides:
-  - files: "*.{md,yml,yaml,html,css,scss,js,cff}"
+  - files: "**/*.{md,yml,yaml,html,css,scss,js,json,json5,jsonc}"
     options:
       tabWidth: 2
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
overrides:
- files: "*.{md,yml,yaml,html,css,scss,js,cff}"
options:
tabWidth: 2
overrides:
- files: "**/*.{md,yml,yaml,html,css,scss,js,json,json5,jsonc}"
options:
tabWidth: 2
🤖 Prompt for AI Agents
In .prettierrc.yml around lines 3 to 6, the overrides glob
"*.{md,yml,yaml,html,css,scss,js,cff}" only matches root-level files and doesn't
apply to subdirectories; update the glob to a recursive pattern like
"**/*.{md,yml,yaml,html,css,scss,js,json,jsonc}" and remove "cff" so overrides
apply repo-wide (including docs/**) and include JSON/JSONC to prevent 4-space
JSON churn.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.0] bigbio/quantms - [13/08/2025] - Munich

### `Added`

- [571](https://github.com/bigbio/quantms/pull/571) Added AlphaPeptDeep to quantms rescoring

### `Changed`

- [564](https://github.com/bigbio/quantms/pull/564) Small patch with DIA precursor and fragment masses limits
- [567](https://github.com/bigbio/quantms/pull/567) Update nf-core template to 3.3.2
- [560](https://github.com/bigbio/quantms/pull/560) Improvements in the documentation
- Renamed `ms2pip_model_dir` → `ms2_model_dir`
- Renamed `ms2pip_model` → `ms2_model`

### `Fixed`

- [568](https://github.com/bigbio/quantms/pull/568), [570](https://github.com/bigbio/quantms/pull/570) Multiple bugs fixed for pmultiqc library, multiple PRs, final version updated to version 0.0.33

### `Dependencies`

- Updated quantms-rescoring==0.0.12
- Updated pmultiqc==0.0.33

## [1.5.0] bigbio/quantms - [21/05/2025] - Zürich

### `Added`
Expand Down
Loading