11import json
22
3- from ngclearn import Component , Compartment , transition
3+ from ngclearn import Component , Compartment # , transition
44from ngclearn import numpy as np
5- from ngcsimlib .utils import get_current_path
5+ # from ngcsimlib.utils import get_current_path
66from ngcsimlib .logger import warn , critical
77
88import matplotlib .pyplot as plt
@@ -68,7 +68,7 @@ def _record_internal(compartments):
6868 "monitor found in ngclearn.components or "
6969 "ngclearn.components.lava (If using lava)" )
7070
71- @transition (None , True )
71+ # @transition(None, True)
7272 @staticmethod
7373 def reset (component ):
7474 """
@@ -95,7 +95,7 @@ def _reset(**kwargs):
9595 # pure func, output compartments, args, params, input compartments
9696 return _reset , output_compartments , [], [], output_compartments
9797
98- @transition (None , True )
98+ # @transition(None, True)
9999 @staticmethod
100100 def record (component ):
101101 output_compartments = []
@@ -265,8 +265,9 @@ def load(self, directory, **kwargs):
265265
266266 for comp_path , shape in vals ["stores" ].items ():
267267 compartment_path = comp_path .split ("/" )[- 1 ]
268- new_path = get_current_path () + "/" + "/" .join (
269- compartment_path .split ("*" )[- 3 :- 1 ])
268+ new_path = ""
269+ # new_path = get_current_path() + "/" + "/".join(
270+ # compartment_path.split("*")[-3:-1])
270271
271272 cs , end = self ._add_path (new_path )
272273
0 commit comments