Closed mekhlakapoor closed 1 year ago
This might be difficult to do in the ui. You can add a property to the schema to let the ui know which type of object to render:
class Software(AindModel):
"""Description of generic software"""
name: str = Field(..., title="Software name")
version: str = Field(..., title="Software version")
parameters: Optional[dict] = Field(..., title="Software parameters", additionalProperties={"type": "string"})
@mekhlakapoor I created this ticket if you want to update the schema while fixing some other issues with device.py
:
https://github.com/AllenNeuralDynamics/aind-data-schema/issues/390
Closed because its issue #390 on aind-data-schema
Describe the bug In the ophys rig schema, the field "software parameters" expects a dictionary. However, the app renders no input field for it. Because there is no input area for this field, users are unable to submit ophys rig forms
Expected behavior Find out what the expected dict looks like
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.