Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] year option fails #2089

Closed
nikohansen opened this issue Mar 16, 2022 · 1 comment
Closed

[Bug report] year option fails #2089

nikohansen opened this issue Mar 16, 2022 · 1 comment
Labels

Comments

@nikohansen
Copy link
Contributor

nikohansen commented Mar 16, 2022

With the cocoex installed from the current master branch

import cocoex
for sname in cocoex.known_suite_names:
    print(sname, flush=True)
    try:
        suite = cocoex.Suite(sname, "year: 2022", "")
    except e:
        print("{} raised exception {}".format(sname, e))

crashes the Python kernel already for the first bbob suite. Namely, it also fails on the bbob-largescale suite and works on the others.

Expected: the above code runs smoothly.

@nikohansen nikohansen added the bug label Mar 16, 2022
brockho added a commit that referenced this issue Sep 6, 2022
…fault values for the instances and year >= 2009 where needed
@brockho
Copy link
Contributor

brockho commented Sep 6, 2022

I pushed a small change in the code to development which addresses the above and passes the test for all years from 2009 onwards.

@brockho brockho closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants