Skip to content

Version checking error in custom preprocessor #2497

Closed Answered by samuelgarcia
oaaij-gnahz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
If you design your own preprocessing class, then the class need to live somewhere in an installed python module.
Otherwise it can not be loaded back when json or pickle.
In short if this class is in a local .py file this will not work unless all script are in the same module.
You can easly make a simple installable python module and use pip install -e /path/to/cistul/module instead, in this case it should solve the issue.
Good luck.
And of course feel free to propose your class in spikeinterface!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by oaaij-gnahz
Comment options

You must be logged in to vote
2 replies
@alejoe91
Comment options

@oaaij-gnahz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants