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

enabled = false not working in IJulia #214

Closed
saulpila opened this issue Jul 16, 2021 · 3 comments · Fixed by #216
Closed

enabled = false not working in IJulia #214

saulpila opened this issue Jul 16, 2021 · 3 comments · Fixed by #216

Comments

@saulpila
Copy link

I am setting enabled = false but I still get a progress meter. Shouldn't it be | instead of & here?

(!RUNNING_IJULIA_KERNEL[] & !p.enabled) && return

(!RUNNING_IJULIA_KERNEL[] & !p.enabled) && return

@IanButterworth
Copy link
Collaborator

IanButterworth commented Jul 17, 2021

@jd-lara would you be able to take a look at this given this was introduced in #185?
On reflection, it's not clear to me what the behavior in IJulia (which I assume @saulpila is using) is supposed to be here

@saulpila
Copy link
Author

Yes! This happens in IJulia. Sorry for not specifying.

@IanButterworth IanButterworth changed the title enabled = false not working enabled = false not working in IJulia Jul 17, 2021
@jd-lara
Copy link
Contributor

jd-lara commented Jul 24, 2021

@IanButterworth I can check it out but I don't use IJulia too much

goerz added a commit to JuliaQuantumControl/QuantumPropagators.jl that referenced this issue Sep 10, 2021
martinholters pushed a commit that referenced this issue Sep 13, 2021
It doesn't make sense to me that `enabled` stops working (ie Progress will *always* update/print) in IJulia.
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

Successfully merging a pull request may close this issue.

3 participants