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

Assert runtime invariant: all individuals in MuPlusLambda::step need to have a non-None index #375

Open
jakobj opened this issue Dec 6, 2022 · 3 comments · May be fixed by #376
Open

Assert runtime invariant: all individuals in MuPlusLambda::step need to have a non-None index #375

jakobj opened this issue Dec 6, 2022 · 3 comments · May be fixed by #376
Labels
good first issue Good for newcomers maintenance Fighting the second law
Milestone

Comments

@jakobj
Copy link
Member

jakobj commented Dec 6, 2022

The logic in MuPlusLambda (and likely in other places) assumes that all individuals in a population have been assigned a valid index. We should thus make sure of this in the beginning of this function using an assert.

@jakobj jakobj added good first issue Good for newcomers maintenance Fighting the second law labels Dec 6, 2022
@jakobj jakobj added this to the 0.4.0 milestone Dec 6, 2022
@xueyongtu
Copy link

can't install this package in windows 10, use "python setup.py install" to install hal-cgp-0.3.0.tar.gz, please help me

(base) D:\Download\hal-cgp-0.3.0>python setup.py install
Traceback (most recent call last):
File "setup.py", line 73, in
install_requires=read_requirements(),
File "setup.py", line 25, in read_requirements
with open("./requirements.txt") as f:
FileNotFoundError: [Errno 2] No such file or directory: './requirements.txt'

@xueyongtu
Copy link

I also tried other ways to install, all failed

@xueyongtu
Copy link

I deal with it by copying the requirements.txt into the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers maintenance Fighting the second law
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants