-
Notifications
You must be signed in to change notification settings - Fork 15
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
Which properties should be in common-properties? #67
Comments
I agree that we should allow any property to be in |
I'm not sure the easiest way of doing this, but perhaps # Start the ChemKED schema
common-properties:
type: dict
schema:
pressure: *value-unit-optional
ignition-type: *ignition-type
composition: *composition
pressure-rise: *value-unit-optional
compression-time: *value-unit-optional
ignition-delay: *value-unit-required
first-stage-ignition-delay: *value-unit-optional
compressed-pressure: *value-unit-optional
compressed-temperature: *value-unit-optional
temperature: *value-unit-required ? (Though I don't think we should really allow |
Right, but if we do it that way, we have to add every property from every experiment type that we end up adding. I'm hoping for something a little more sustainable 😄 (Also, everything in |
Right... I agree this way is a bit harder to maintain. I think we have two options:
I don't have a strong feeling either way, but I'm leaning towards option 2, because explicit is better than implicit :), and I don't think the number of available fields will really increase that much, because other experiment types use much of the same fields we already have (temperature, pressure, composition). |
Any more thoughts on this? |
At the moment, the
common-properties
section allows the following keys:How can we handle the common properties without explicitly specifying which ones are allowed? I think that any property should be eligible to be a
common-property
.The text was updated successfully, but these errors were encountered: