Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 3 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,9 @@ jobs:
run: pip install .
- name: Test qpx dataset
run: |
wget -nv https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/example-projects/qpx_example.zip
# Hosted as a GitHub release attachment: the PRIDE copy of this file
# returns 404 (other PRIDE assets used by this workflow are unaffected).
wget -nv -O qpx_example.zip https://github.com/user-attachments/files/31028778/qpx_example.zip
unzip -d ./qpx_example qpx_example.zip
multiqc --qpx-plugin ./qpx_example --config ./qpx_example/results/multiqc_config.yml -o ./results_qpx
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ You can find example reports on the [docs page](https://bigbio.github.io/pmultiq
| mzIdentML with MGF | mzIdentML with MGF files | [mzIdentML with MGF Example](https://pmultiqc.quantms.org/PXD054720/multiqc_report.html) ([disable_hoverinfo](https://pmultiqc.quantms.org/PXD054720_disable_hoverinfo/multiqc_report.html)) | [PXD054720 folder](https://ftp.pride.ebi.ac.uk/pride/data/archive/2024/08/PXD054720/) |
| FragPipe | FragPipe results | [FragPipe Example](https://pmultiqc.quantms.org/PXD062399/multiqc_report.html) ([disable_hoverinfo](https://pmultiqc.quantms.org/PXD062399_disable_hoverinfo/multiqc_report.html)) | [PXD062399.zip](https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/example-projects/PXD062399.zip) |
| mhcquant | mhcquant results | [mhcquant Example](https://pmultiqc.quantms.org/mhcquant/multiqc_report.html) ([disable_hoverinfo](https://pmultiqc.quantms.org/mhcquant_disable_hoverinfo/multiqc_report.html)) | [mhcquant_3-1-0_results.zip](https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/mhcquant/mhcquant_3-1-0_results.zip) |
| QPX | QPX results | [QPX Example](https://pmultiqc.quantms.org/qpx/multiqc_report.html) ([disable_hoverinfo](https://pmultiqc.quantms.org/qpx_disable_hoverinfo/multiqc_report.html)) | [qpx_example.zip](https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/example-projects/qpx_example.zip) |
| QPX | QPX results | [QPX Example](https://pmultiqc.quantms.org/qpx/multiqc_report.html) ([disable_hoverinfo](https://pmultiqc.quantms.org/qpx_disable_hoverinfo/multiqc_report.html)) | [qpx_example.zip](https://github.com/user-attachments/files/31028778/qpx_example.zip) |

### 🔍 Large-Scale Dataset Reports

Expand Down
4 changes: 2 additions & 2 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,15 @@
{
"accession": "qpx",
"urls": [
"https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/example-projects/qpx_example.zip"
"https://github.com/user-attachments/files/31028778/qpx_example.zip"
],
"path": "docs/qpx",
"file_type": ["qpx", ""]
},
{
"accession": "qpx_disable_hoverinfo",
"urls": [
"https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/pmultiqc/example-projects/qpx_example.zip"
"https://github.com/user-attachments/files/31028778/qpx_example.zip"
],
"path": "docs/qpx_disable_hoverinfo",
"file_type": ["qpx", "disable_hoverinfo"]
Expand Down
7 changes: 6 additions & 1 deletion docs/update_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ def download_file(url, save_path, max_retries=3, backoff_factor=2):
ftp_host = ftp_parsed.hostname
ftp_path = ftp_parsed.path

# Only hosts that actually serve FTP are worth trying. Without this, an HTTPS-only
# host (e.g. a GitHub-hosted asset) burns three connection timeouts plus backoff
# before reaching the HTTPS path that was always going to be the working one.
ftp_available = bool(ftp_host) and ftp_host.startswith("ftp.")

# -------- Try FTP first --------
for attempt in range(1, max_retries + 1):
for attempt in range(1, max_retries + 1 if ftp_available else 1):
try:
print(f"[Attempt {attempt}] Trying FTP download: {ftp_host}{ftp_path}")
ftp = FTP(ftp_host, timeout=30)
Expand Down
Loading