-
Notifications
You must be signed in to change notification settings - Fork 1
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
"IGNORE" - implementation #78
Comments
TEST OF IGNORE, in LibWiser Everything is fine (see picture and *.py). I think the issue is simpler than we thought: Can you try to fix it? |
Thanks for opening this issue on github. I will try to implement exactly what you said. |
One more thing: This case is also useful to decide what to do with #issue 74. As is, the code generates an error at the level of item2, and the execution stops. We (I) wondered if it was possible to still propagate a signal downstream, even if an errorr occurred. The rationale of this is that the signal propagates info about: the beamline layout (which almost never contains any error) and the computations (which may contain some inconsicency). It would make sense to propagate all this info whenever possible. However, the execution can be broken by a number of elements, e.g. the GUI. The solution to all this is not trivial. I wrote this just as a comment. |
Got it. At the present moment, the only the I have in mind is the number of samples, but this does no help me... Can you tell me where is the definition of do_propagation? |
I pushed the new version to PyPI ( |
Question: shouldn't the error message above appear in the error log of OASYS? (I can not say annything coz my one broke ages ago, and it always blank... that's another story) |
Solution However, it seems to me that, with a None field, this function should not be called at all. I will check the logic, first. |
Yes, it does to me, look at my previous message. |
We can discuss tomorrow if you're available. Are we by now sure that the "problem" needs to be resolved on LibWiser level? |
This "new problem", which is not connected to the attempt of OASYS to plot a None field ("starting problem"), quite certainly lives at LibWiser level. |
Ok, I am available for discussion or some fast implementation at any time, if necessary. Keep in mind the peculiar behaviour, if the last element is ignored, then everything works fine! |
Aka "the Friday Bug", this bug appears to be realted with the "ignore" attribute of LibWiser, how it works alone, and how it works with the chain-of-responsibility of Oasys.
Understood by Aljosa.
I copy the email text
_Hey,
No, there is a bug... With Ignore turned on, the wavefront doesn't propagate to the next element. This is probably due to the changes/decoupling in WiserData, where the beamline is returned even if wavefront is None... This needs a bit more consideration to be solved efficiently.
Cheers,
Aljosa_
The text was updated successfully, but these errors were encountered: