question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mhcflurry-downloads fetch error

See original GitHub issue

I was trying to install mhcflurry inside a docker image (ubuntu os). I could pip install mhcflurry but later when I ran “mhcflurry-downloads fetch” it gave me the following error.

Traceback (most recent call last): File "/usr/local/bin/mhcflurry-downloads", line 8, in <module> sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/mhcflurry/downloads_command.py", line 123, in run command_functions[args.subparser_name](args) File "/usr/local/lib/python3.8/dist-packages/mhcflurry/downloads_command.py", line 183, in fetch_subcommand default = not args.download_name and info['metadata']['default'] KeyError: 'default'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
suraj-gattanicommented, Jul 17, 2020

I actually downloaded the class1-presentation model only and it started working for me. I think you can download all of them separately and it should work for you as well.

0reactions
Admera2020commented, Jul 20, 2020

Thanks, it’s working now 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command-line reference — MHCflurry 2.0.0 documentation
Download MHCflurry released datasets and trained models. Examples. Fetch the default downloads: $ mhcflurry-downloads fetch. Fetch a specific download:.
Read more >
mhcflurry - PyPI
Problems downloading data and models. Some users have reported HTTP connection issues when using mhcflurry-downloads fetch . As a workaround, you can download...
Read more >
MHCflurry: open-source class I MHC binding affinity prediction
We describe and benchmark a new open-source MHC I binding prediction package, MHCflurry. The software is a collection of allele-specific ...
Read more >
Installation — pVACtools 2.0.5 documentation
Using a different version may cause errors. ... The mhcflurry-downloads fetch command will need to be run manually, even if the mhcflurry package...
Read more >
mhcflurry.Class1AffinityPredictor.load Example - Program Talk
0: for line in cp.stdout.decode().splitlines(): logging.error(line) raise RuntimeError("mhcflurry failed to download model file") # load model predictor ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found