Foggalong / RobustOCS

Robust optimal contirbution selection problems for genetics with Python
https://pypi.org/project/robustocs
MIT License
1 stars 0 forks source link

module 'robustocs' has no attribute 'solverROCS' #31

Closed sakurita17 closed 1 month ago

sakurita17 commented 1 month ago

When I try to use solveROCS, I get the error: module 'robustocs' has no attribute 'solveROCS'. What could be the issue? :)

Thanks, Jaime

Foggalong commented 1 month ago

@sakurita17 After doing git pull for #29, is this also fixed?

Foggalong commented 1 month ago

Never mind, I managed to replicate this! The new utility functions were missing off the default import list. Added them to the git version and will tag a 0.2.2 release along with any other bug fixes accumulated over the next couple days.

If you need to use it in the meantime, it can still be accessed in 0.2.1 using robustocs.utils.solverROCS. For example

>>> import robustocs
>>> robustocs.__version__
'0.2.1'
>>> robustocs.utils.solveROCS
<function solveROCS at 0x7f5f04dbcf70>