glasgowcompbio / pyMultiOmics

Python toolbox for multi-omics data mapping and analysis
MIT License
19 stars 4 forks source link

Hande exceptions when query is not present in the mapping. #6

Closed kmcluskey closed 3 years ago

kmcluskey commented 3 years ago

Currently, if a query_id is not found in a Query a KeyError is returned. This is the case when a list is passed no matter how many 'hits' are found. Better exception handling should be used.

kmcluskey commented 3 years ago

Fix has been pushed onto branch iss_6

kmcluskey commented 3 years ago

Sorry, didn't mean to close.

joewandy commented 3 years ago

Fixed by @kmcluskey in https://github.com/glasgowcompbio/pyMultiOmics/pull/7