ATOMScience-org / AMPL

The ATOM Modeling PipeLine (AMPL) is an open-source, modular, extensible software pipeline for building and sharing models to advance in silico drug discovery.
MIT License
136 stars 68 forks source link

Remove Unreachable Code in model_pipeline #380

Open mauvais2 opened 2 weeks ago

mauvais2 commented 2 weeks ago

In model_pipeline.get_metrics(), there are two returns inside the if statement:

https://github.com/ATOMScience-org/AMPL/blob/master/atomsci/ddm/pipeline/model_pipeline.py#L449

The code may not get used. Will delete the first return and test when the model tracker is running.