Skip to content

Commit f1713cb

Browse files
committed
[cleanup] remove get_dict from stimunit
1 parent 94a961e commit f1713cb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

psyflow/StimUnit.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -162,21 +162,6 @@ def to_dict(self, target: Optional[dict] = None) -> 'StimUnit':
162162
target.update(self.state)
163163
return self
164164

165-
def get_dict(self, target: Optional[dict] = None) -> dict:
166-
"""
167-
Return the internal state dictionary, or merge into an external one.
168-
169-
Parameters
170-
----------
171-
target : dict, optional
172-
If provided, updates this dict in-place and returns it.
173-
174-
Returns
175-
-------
176-
dict
177-
The internal state (or merged result if target is provided).
178-
"""
179-
return dict(self.state)
180165

181166
def send_trigger(self, trigger_code: int) -> "StimUnit":
182167
"""

0 commit comments

Comments
 (0)