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

Bugfix: do not rely on self to store knowledge #27

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

JAlvarezJarreta
Copy link
Collaborator

self changes when the server arguments are defined at the subparser level, so all arguments are parsed correctly but the list of server groups is lost, so no URL argument was being generated when using subparsers. The fix is to extract from the list of arguments those that may look like a host to build the URLs.

self changes when the server arguments are defined at the subparser
level, so all arguments are parsed correctly but the list of server
groups was lost, i.e. need to build URLs by pulling the host arguments
available in the ArgumentParser
@JAlvarezJarreta JAlvarezJarreta added the bug Something isn't working label Oct 4, 2024
@JAlvarezJarreta JAlvarezJarreta self-assigned this Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/ensembl/utils
   __init__.py50100% 
   archive.py310100% 
   argparse.py98297%329, 331
   checksums.py120100% 
   logging.py200100% 
   plugin.py63296%150–151
   rloader.py460100% 
src/ensembl/utils/database
   __init__.py30100% 
   dbconnection.py98792%217, 219, 221, 224–225, 229–230
   unittestdb.py701085%98, 102, 124–125, 144, 168–171, 173
TOTAL4462195% 

Tests Skipped Failures Errors Time
81 0 💤 0 ❌ 0 🔥 0.952s ⏱️

@JAlvarezJarreta JAlvarezJarreta merged commit 373801c into main Oct 7, 2024
5 checks passed
@JAlvarezJarreta JAlvarezJarreta deleted the jalvarez/subparser_fix branch October 7, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants