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

Issue in case of warmstarting case #95

Open
AleBasso80 opened this issue Sep 25, 2020 · 0 comments
Open

Issue in case of warmstarting case #95

AleBasso80 opened this issue Sep 25, 2020 · 0 comments

Comments

@AleBasso80
Copy link

Hello,
I think I bumped into a code bug that has effect when a warmstarting is run and in the previous results (json file) there is an unsuccessful configuration. In that case the the fields "loss" and "info" of the job.results variable are both set to None, but not job.results itself. However the None check is performed only on job.result (that is not None), therefore when the "loss" field is called an exception is raised. I added the None check on the "loss" field as well in a few spots and now everything seems to be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant