-
Notifications
You must be signed in to change notification settings - Fork 10
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
Probe file should be in JSON format #2
Comments
@thesamovar @shabnamkadir Another option is to use YAML, a superset of JSON. JSON example:
The same in YAML:
What do you think? |
The benefit of JSON is its wide readability. I'd say if we were thinking about using YAML we may as well use the existing Python solution, which is just as readable. Certainly, the value stored in the HDF5 file should be in JSON I think. |
One issue with python .probe file is that, in my experience, they behave unpredictably, for example I can generate the graph like so:
but the same won't work for geometry,
so I need to paste the output from a terminal. Similarly, I generate the .params file, but I need to suppress the unicode u'prepended' to strings by casting to ascii, otherwise the program crashes, e.g.
Therefore, I would prefer JSON or some similar format which is easy to write by hand or programatically generate. |
No description provided.
The text was updated successfully, but these errors were encountered: