Foggalong / RobustOCS

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

too many values to unpack #29

Closed sakurita17 closed 1 month ago

sakurita17 commented 1 month ago

Hi @Foggalong I have already updated robustocs, thank you. image

I tried rerunning examples 04 and 50 but encountered the following error. image

What could I be doing wrong?

Foggalong commented 1 month ago

Hey @sakurita17! You've updated the module but not pulled the latest version of the repository. This means ROCS is 0.2, but the examples you're trying to use it with were written for 0.1! Anywhere in the repository you need to run

git pull

The specific error message is happening because load_problem now has additional return values corresponding to sires, dams, and candidate names. See the documentation for more info, there are examples of how to use the key functions 🙂

sakurita17 commented 1 month ago

👍🏼

Get Outlook for iOShttps://aka.ms/o0ukef


From: Josh Fogg @.> Sent: Friday, August 9, 2024 2:04:56 AM To: Foggalong/RobustOCS @.> Cc: Jaime Ortiz @.>; Mention @.> Subject: Re: [Foggalong/RobustOCS] too many values to unpack (Issue #29)

Hey @sakurita17https://github.com/sakurita17! You've updated the module but not pulled the latest version of the repository. This means ROCS is 0.2, but the examples you're trying to use it with were written for 0.1! Anywhere in the repository you need to run

git pull

The specific error message is happening because load_problem now has additional return values corresponding to sires, dams, and candidate names. See the documentationhttps://github.com/Foggalong/RobustOCS/wiki/load_problem for more info, there are examples of how to use the key functions 🙂

— Reply to this email directly, view it on GitHubhttps://github.com/Foggalong/RobustOCS/issues/29#issuecomment-2277282346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS36HVPI5SHLRZKNBKAV3ZLZQRSZRAVCNFSM6AAAAABMHUHR56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXGI4DEMZUGY. You are receiving this because you were mentioned.Message ID: @.***>