We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d916551 commit b58e542Copy full SHA for b58e542
src/visiomode/models.py
@@ -140,7 +140,7 @@ def __post_init__(self):
140
self.device = socket.gethostname() if not self.device else self.device
141
self.animal_meta = {} if not self.animal_meta else self.animal_meta
142
self.experimenter_meta = {} if not self.experimenter_meta else self.experimenter_meta
143
- self.spec = self.task.get_spec if self.task else None
+ self.spec = self.task.get_spec if self.task else {}
144
145
def to_dict(self):
146
"""Get class instance attributes as a dictionary.
0 commit comments