debbiemarkslab / EVcouplings

Evolutionary couplings from protein and RNA sequence alignments
http://evcouplings.org
Other
240 stars 76 forks source link

Fix plmc segfault handling #292

Closed thomashopf closed 4 months ago

thomashopf commented 1 year ago

https://github.com/debbiemarkslab/EVcouplings/blob/af27842c5fc72c291831261c9a19849a3e313efd/evcouplings/couplings/tools.py#L268

if output not present, raises KeyError for "optimization" key - either remove segfault special handling altogether, or check for valid output first and raise otherwise