Porthmeus / MeMoMe

Metabolic Model Merging - a semiautomated way to merge genome scale metabolic models
Apache License 2.0
0 stars 0 forks source link

Non descriptive exception handling in MeMoModel #99

Open Unaimend opened 3 months ago

Unaimend commented 3 months ago

image

https://github.com/Porthmeus/MeMoMe/blob/786098874593ecb718dceb8a23701eed8ca46ad2/src/MeMoModel.py#L140

What is the point of this exception? Please specify which exception can occur in the accept clause. Further, if that exception is only there to capture the case of one of the _charges being None please replace it with an if statement