You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter NEXUS token
seaching morphologies...
Traceback (most recent call last):
File "BBP_downloader.py", line 23, in <module>
path.annotation.hasBody.type == "MType",
File "/home/gevaert/src/nexus-forge/kgforge/core/wrappings/paths.py", line 70, in __eq__
return self._for(FilterOperator.EQUAL.value, other)
File "/home/gevaert/src/nexus-forge/kgforge/core/wrappings/paths.py", line 82, in _for
return Filter(self._path, operator, other)
AttributeError: 'PathsWrapper' object has no attribute '_path'
I'm pretty sure it's due to overwriting the __dict__ member that is causing the problem. Updating it w/ self.__dict__.update(paths) (which I consider a bad idea, b/c I'm not checking what is all in paths) seems to fix the problem.
Code from running: https://bbpgitlab.epfl.ch/molsys/bbp_me_type_to_mol_id/-/blob/main/downloader/BBP_downloader.py is causing the following exception:
I believe it's because the
__dict__
is being reset here:https://github.com/BlueBrain/nexus-forge/blob/master/kgforge/core/wrappings/paths.py#L94
The text was updated successfully, but these errors were encountered: