Skip to content
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

fix the ds list script so it works with the new gbasf2 version #210

Merged
merged 7 commits into from
Nov 6, 2023
Merged

fix the ds list script so it works with the new gbasf2 version #210

merged 7 commits into from
Nov 6, 2023

Conversation

0ctagon
Copy link
Contributor

@0ctagon 0ctagon commented Nov 6, 2023

With the new gbasf2 version, userCreds changed path and initializeCS() is not automatic anymore. This PR fix the crash happening when b2luigi tries to download the jobs output.
Same solution as in #209 .

eckerpatrick and others added 4 commits November 3, 2023 12:07
Previously we only raised an exception for returncodes of 3 and otherwise
accepted the output. Any other returncodes should in theory not be possible but
better be defensive and fail early with a proper error message instead of
accepting garbage output and failing later with a confusing error message.
@github-actions github-actions bot added the needs changelog Entry to CHANGELOG.md is missing label Nov 6, 2023
@meliache
Copy link
Collaborator

meliache commented Nov 6, 2023

LGTM 👍. Just changelog missing, that could be combined with the changelog entry for #209 into a single bulletpoint

@meliache meliache added bug Something isn't working gbasf2 Concerns the gbasf2/grid b2luigi wrapper labels Nov 6, 2023
@codecov-commenter
Copy link

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (5815d46) 60.51% compared to head (e1a1cba) 60.80%.
Report is 18 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
+ Coverage   60.51%   60.80%   +0.28%     
==========================================
  Files          23       23              
  Lines        1593     1597       +4     
==========================================
+ Hits          964      971       +7     
+ Misses        629      626       -3     
Flag Coverage Δ
unittests 60.80% <46.15%> (+0.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
b2luigi/__init__.py 88.46% <100.00%> (ø)
b2luigi/batch/processes/gbasf2.py 49.57% <41.66%> (+0.31%) ⬆️

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@meliache meliache self-requested a review November 6, 2023 12:35
@github-actions github-actions bot removed the needs changelog Entry to CHANGELOG.md is missing label Nov 6, 2023
@meliache meliache merged commit b77c605 into nils-braun:main Nov 6, 2023
1 check passed
meliache added a commit that referenced this pull request Nov 6, 2023
@0ctagon 0ctagon deleted the fix-dl-list-script branch November 7, 2023 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gbasf2 Concerns the gbasf2/grid b2luigi wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants