Skip to content

Commit 5d84ea0

Browse files
Aurélieneleftherioszisis
Aurélien
authored andcommitted
lint fix
1 parent 96fafd1 commit 5d84ea0

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/entitysdk/models/emodel.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Ion channel model."""
1+
"""Electrical cell model."""
22

33
from typing import Annotated
44

@@ -8,9 +8,15 @@
88
from entitysdk.models.contribution import Contribution
99
from entitysdk.models.entity import Entity
1010
from entitysdk.models.etype import ETypeClass
11-
from entitysdk.models.morphology import BrainRegion, License, Species, Strain, ReconstructionMorphology
12-
from entitysdk.models.mtype import MTypeClass
1311
from entitysdk.models.ion_channel_model import IonChannelModel
12+
from entitysdk.models.morphology import (
13+
BrainRegion,
14+
License,
15+
ReconstructionMorphology,
16+
Species,
17+
Strain,
18+
)
19+
from entitysdk.models.mtype import MTypeClass
1420

1521

1622
class EModel(HasAssets, Entity):
@@ -72,7 +78,7 @@ class EModel(HasAssets, Entity):
7278
),
7379
]
7480
exemplar_morphology: Annotated[
75-
ReconstructionMorphology,
81+
ReconstructionMorphology | None,
7682
Field(
7783
description="The morphology used during optimisation.",
7884
),

src/entitysdk/models/morphology.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ReconstructionMorphology(HasAssets, Entity):
3535
Field(
3636
description="The region of the brain where the morphology is located.",
3737
),
38-
] = None
38+
]
3939
description: Annotated[
4040
str,
4141
Field(
@@ -48,7 +48,7 @@ class ReconstructionMorphology(HasAssets, Entity):
4848
Field(
4949
description="The species of the morphology.",
5050
),
51-
] = None
51+
]
5252
strain: Annotated[
5353
Strain | None,
5454
Field(

0 commit comments

Comments
 (0)