-
Notifications
You must be signed in to change notification settings - Fork 5
update onsite #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
update onsite #40
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
82af099
Merge pull request #1 from bigbio/main
daichengxin 844cdf3
update onsite
daichengxin 84b9660
update
daichengxin f4d3eb1
update
daichengxin f3339f8
Update main.nf.test
daichengxin 32be04b
Update test_data.config
daichengxin c8f18f8
update
daichengxin f44bde1
test
daichengxin 5e0edb0
try
daichengxin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,4 @@ channels: | |
| - bioconda | ||
| - defaults | ||
| dependencies: | ||
| - bioconda::pyonsite=0.0.2 | ||
| - bioconda::pyonsite=0.0.3 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the onsite fixture download fail-fast and bounded.
At Line 178,
curl -sLcan silently succeed on HTTP errors and has no timeout/retry controls. That can produce opaque nf-test failures later or flaky CI hangs.Suggested hardening
- name: Download onsite test data directory if: matrix.module == 'bigbio/onsite' run: | + set -euo pipefail DIR="tests/data/onsite/Phospho_redissolve_final_01_clean_perc.idparquet" mkdir -p "$DIR" BASE_URL="https://ftp.pride.ebi.ac.uk/pub/databases/pride/resources/proteomes/quantms-ci-github/onsite/Phospho_redissolve_final_01_clean_perc.idparquet" for f in psms.parquet proteins.parquet protein_groups.parquet search_params.parquet; do echo "Downloading $f ..." - curl -sL -o "$DIR/$f" "$BASE_URL/$f" + curl --fail --show-error --location \ + --retry 3 --retry-all-errors --retry-delay 2 \ + --connect-timeout 15 --max-time 120 \ + -o "$DIR/$f" "$BASE_URL/$f" + test -s "$DIR/$f" done ls -lh "$DIR"🤖 Prompt for AI Agents