ExcitedStates / qfit-3.0

qFit: Automated and unbiased multi-conformer models from X-ray and EM maps.
MIT License
35 stars 11 forks source link

Re-implement open source solvers #363

Closed blake-riley closed 12 months ago

blake-riley commented 1 year ago

Pull Request Checklist


Description of the Change

Fixes #361 .

Release Notes


blake-riley commented 1 year ago

Yeah, we're failing tests.

A few things to work on:

  1. 358 changed the default python to 3.9, and numpy to 1.22 in the README. This is not what we test against.

    I've bumped numpy to 1.22 here... it seems it's not compatible with py3.7?

  2. test_solvers.py definitely needs to be updated. The refactoring in this PR (to the best of my ability) makes solvers an implementations of an interface (ABC). Whatever logic I had around ImportError in the existing implementation, it's very different now.
blake-riley commented 1 year ago

Awesome. We're passing now. Some better unit tests in here too.