refgenie / refgenconf

A Python object for standardized reference genome assets.
http://refgenie.databio.org
BSD 2-Clause "Simplified" License
3 stars 6 forks source link

better missing ASDs communication in refgenie compare #118

Closed stolarczyk closed 3 years ago

stolarczyk commented 3 years ago

This is the error message that refgenie compare yields when such "incomplete" genome is used

refgenconf.exceptions.MissingSeekKeyError: Asset incomplete. No seek keys are defined for '94e0d21feb576e6af61cd2a798ad30682ef2428bb7eabbb4/fasta:default'. Build or pull the asset again.

need to make this more digestible, only the last part hints at what is the solution

stolarczyk commented 3 years ago

this is what it says now:

refgenconf.exceptions.MissingSeekKeyError: Failed to compare genomes; fasta asset for 'hg38' genome is incomplete, which probably means that it was pulled from the server as a parent of another asset. Build or pull 'hg38/fasta' specifically to use it for comparison.
nsheff commented 3 years ago

I think the speculative reason is not really necessary... what do you think of this instead?

refgenconf.exceptions.MissingSeekKeyError: Failed to compare genomes. You must build or pull 'hg38/fasta' before comparing genome 'hg38'.

stolarczyk commented 3 years ago

ok