-
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
Save/Load, again => Defaulting values #61
Comments
I suggest a mail to Luca. He probably knows ... |
Ok. Before doing that, I would try as follows:
I'll post an old answer of Luca here, just as common starting point. -------- Messaggio Inoltrato --------
|
MARGOT TEST OWS attached here Rename from .MOV to .OWS to make it work :-)** |
You're right, that one gets reset. Maybe there is some problem with Positioning directives, saving with a different one to the default? |
TEST BY MARCO ZANGRANDOfile: RESULT: BAD :-(, values are defaulted (e.g. elliptical mirror F1=98) |
I do not understand exactly what you mean:-) WISER has no default values, but oasys widget have. In addition, this is not a matter of PositioningDirectives only, but of all the attributes (F1 and F2 are sent to init, not to PositionindDirectives). So the problem is somewhere in OASYS, I would say. If you have some idea for a test for this involving LibWiser, I can do a counterproof. In the meanwhile, since we have the issue an all the platforms, we need to roll back OASYS-Wiser (of 1,2,3 versions?) and see whether we can get the right values back. Can you possibly handle this? |
There is a problem with the |
My OS File browser says the file |
That's VERY interesting. Premise: I have a backup file in my "\old" folder test_margot_correct3_READONLY.ows => is still readonly, and it was last modified on 18.03.2021. test_margot_03_READONLY.ows => wrong numbers Conclusion: What to do now?
This is just a different strategy to monitor the behavior of this thing: if it occurs, you will realize it as easily as me (4 eyes are better than 2). The other thing we can do is write an email to Janes&co and say: "Hey, sometimes our values are defaulted, but we do not know when and why. There is something we can do, like adding a warning somewhere in OASys"? What you think of all this? |
Ok, I can read the one in |
That means that always when you add an optical element you get this error? |
Sorry, I was unclear. The idea is: " if a certain value is 0 when you launch the computation, then cast the error message", not "when you drop an optical element" :-) |
This is new... -I create a new file ("untitled.ows"), i use gaussian source + elliptical mirror + detector. This stuff is quite unpredictable |
Note: I DID NOT close oasys, I just opened "wiser Snippets.ows" in the same session |
Did new test: on new default falues F1 and F2 of elliptical mirror: case 1 case 1b)
we still have to check what is gonna happen when defaulting occurs because "load ows" fails |
We still have the Save/Load issue.
Because of its persistence, I will promote it to the nastiest bug ever, and the one with the highest priority.
What doest it happen
At a certain point, the values stored in *.ows file are defaulted.
How do I see it?
I have created a test workspace long time ago (Margot_3), which I marked as READONLY, (an which is read only on my laptop). This ensure that I have never overwritten the values since the file creation. The "right" values are written in ows file as comment.
What shall we do?
The text was updated successfully, but these errors were encountered: