Skip to content

Commit

Permalink
fix(schema): correct subgate
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Aug 14, 2024
1 parent 7713223 commit 2009a1e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/schemas/generate-jupyter-ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
# mappings b/w components type names and what their Python mappings are
pyapi_mappings = {
"gate": "GateHHUndetermined",
"SubGate": "GateFractionalSubgate",
"subGate": "GateFractionalSubgate",
}

comp_types = {}
Expand Down
16 changes: 16 additions & 0 deletions source/Userdocs/Schemas/Channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -2565,6 +2565,22 @@ variable = GateFractional(
</xs:complexContent>
</xs:complexType>
```
````
````{tab-item} Usage: Python
*<a href="https://libneuroml.readthedocs.io/en/latest/search.html?q=GateFractionalSubgate" target="_blank">Go to the libNeuroML documentation</a>*
```{code-block} python
from neuroml import GateFractionalSubgate
variable = GateFractionalSubgate(
id: 'a NmlId (required)' = None,
fractional_conductance: 'a Nml2Quantity_none (required)' = None,
notes: 'a string (optional)' = None,
q10_settings: 'a Q10Settings (optional)' = None,
steady_state: 'a HHVariable (required)' = None,
time_course: 'a HHTime (required)' = None,
)
```
````
`````
Expand Down

0 comments on commit 2009a1e

Please sign in to comment.