Skip to content

Commit

Permalink
Remove default yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
frthjf committed Sep 15, 2023
1 parent d33fe60 commit 36cd2a2
Show file tree
Hide file tree
Showing 32 changed files with 184 additions and 746 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,17 @@ class LayersDef(IntEnum):


LayersLiteral = Literal[
"default", "Hilus", "GCL", "IML", "MML", "OML", "SO", "SP", "SL", "SR", "SLM"
"default",
"Hilus",
"GCL",
"IML",
"MML",
"OML",
"SO",
"SP",
"SL",
"SR",
"SLM",
]


Expand Down Expand Up @@ -101,13 +111,17 @@ def _cast(v) -> int:

# Population

SynapseTypesDefOrStr = Annotated[SynapseTypesDef, AllowStringsFrom(SynapseTypesDef)]
SynapseTypesDefOrStr = Annotated[
SynapseTypesDef, AllowStringsFrom(SynapseTypesDef)
]
SWCTypesDefOrStr = Annotated[SWCTypesDef, AllowStringsFrom(SWCTypesDef)]
LayersDefOrStr = Annotated[LayersDef, AllowStringsFrom(LayersDef)]
SynapseMechanismsDefOrStr = Annotated[
SynapseMechanismsDef, AllowStringsFrom(SynapseMechanismsDef)
]
PopulationsDefOrStr = Annotated[PopulationsDef, AllowStringsFrom(PopulationsDef)]
PopulationsDefOrStr = Annotated[
PopulationsDef, AllowStringsFrom(PopulationsDef)
]


PopulationName = str
Expand All @@ -134,7 +148,9 @@ def _cast(v) -> int:
"""Describes a volume extent"""
LayerExtents = Dict[LayerName, List[ParametricCoordinate]]
"""Describes constraints on the distribution of neurons in a given layer."""
CellConstraints = Optional[Dict[PopulationName, Dict[LayerName, Tuple[float, float]]]]
CellConstraints = Optional[
Dict[PopulationName, Dict[LayerName, Tuple[float, float]]]
]


# Pydantic data models
Expand All @@ -153,7 +169,6 @@ class Mechanism(BaseModel):
tau_rise: Optional[float] = None
tau_decay: Optional[float] = None
e: Optional[int] = None



class Synapse(BaseModel):
Expand Down
12 changes: 0 additions & 12 deletions src/miv_simulator/config/Analysis_Configuration.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions src/miv_simulator/config/Axon_Extent.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions src/miv_simulator/config/Connection_Velocity.yaml

This file was deleted.

138 changes: 0 additions & 138 deletions src/miv_simulator/config/Connections.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions src/miv_simulator/config/Definitions.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions src/miv_simulator/config/Geometry.yaml

This file was deleted.

1 change: 0 additions & 1 deletion src/miv_simulator/config/Global.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions src/miv_simulator/config/Input_Configuration.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions src/miv_simulator/config/OLM_synapse_density.yaml

This file was deleted.

Loading

0 comments on commit 36cd2a2

Please sign in to comment.