-
-
Notifications
You must be signed in to change notification settings - Fork 590
Breaking Change in Interface? #1018
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
Comments
Thanks! I can try to have a look, but it'd be helpful if the example were something I could copy paste and run rather than assemble. (Your |
I can give you the actual code, it is all public, but it is rather lengthy and I did not have time yet to separate only the important stuff. The code is accessible on github at, https://github.com/ComputationalRadiationPhysics/picongpu/tree/dev/lib/python/picongpu/ I will try to give you a smaller example but can not promise anything yet. Regarding your second question: As far as I can tell it is a schema, specifically this one https://github.com/ComputationalRadiationPhysics/picongpu/blob/dev/share/picongpu/pypicongpu/schema/species/operation/densityprofile/uniform.Uniform.json but I am not the original author, so take that with a grain of salt ;) |
I suspect the commit I just pushed should fix this. I suspect you were referencing schemas which were bools and sticking those in your |
Well, we are not using them for the standard stuff. PIConGPU is scientific HPC simulation code. The user defines the input to the simulation in c++ files, which we compile directly into the simulation for performance reasons. To make it easier to use we automatically create these c++-files from a user python script, by:
To make sure that the rendering engine will actually produce both semantically and grammatically correct c++-files, we verify the json input against a set of schemas before the actual rendering. Definitively not a standard use case, but our use case ;) And yes we are using arbitrary URI as IDs to for our validation schema and yes we have boolean switches for stuff like turning on/off an algorithm. according to the users wishes ;) |
Back to the topic, trying it out, will report back |
What you're describing sounds "reasonably normal" to me, but is different from what would have triggered this issue, which is where you, in your:
step, you have some schemas which are literally just the JSON values It's like doing trivial work (presuming your schema is |
Well I can report that the error is indeed fixed, but I will have to take a look if all is working as intended Nevertheless, thanks for the quick fix. |
Found it, all in order, this checks that nobody passes a unspecialized profile, only specialized one are allowed |
Thanks in advance for answering a stupid question,
In between version 4.15.0 and 4.16.0 the following code snippet broke
using the following arguments
interesting section of store (as far as I can tell)
with the following error message
I am not entirely sure whether this is caused by a bug or a breaking change I missed, but I did not see anything I could identify on a quick scan of the changelog.
Thankful for every pointer, even a RTFM if it specifies a location ;)
test.txt
The text was updated successfully, but these errors were encountered: