We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to run the example example_tridesclous.py . However, it reported an error
example_tridesclous.py
===== Hither: finished [tridesclous] with status error after 1.8500285148620605 sec
I checked the docker logs, and it showed this error
libgomp: Invalid value for environment variable OMP_NUM_THREADS tridesclous 2021-01-26T22:47:45.862631: Traceback (most recent call last): tridesclous 2021-01-26T22:47:45.862659: File "/run_in_container/run.py", line 15, in main tridesclous 2021-01-26T22:47:45.862664: retval = tridesclous(**kwargs) tridesclous 2021-01-26T22:47:45.862669: File "/run_in_container/function_src/_tridesclous.py", line 36, in tridesclous tridesclous 2021-01-26T22:47:45.862673: sorter.set_params( tridesclous 2021-01-26T22:47:45.862677: File "/usr/local/lib/python3.6/dist-packages/spikesorters/basesorter.py", line 109, in set_params tridesclous 2021-01-26T22:47:45.862680: self._dump_params() tridesclous 2021-01-26T22:47:45.862684: File "/usr/local/lib/python3.6/dist-packages/spikesorters/basesorter.py", line 116, in _dump_params tridesclous 2021-01-26T22:47:45.862687: params['recording'] = recording.make_serialized_dict() tridesclous 2021-01-26T22:47:45.862691: File "/usr/local/lib/python3.6/dist-packages/spikeextractors/baseextractor.py", line 46, in make_serialized_dict tridesclous 2021-01-26T22:47:45.862693: 'key_properties': self._key_properties, 'version': imported_module.__version__, tridesclous 2021-01-26T22:47:45.862702: AttributeError: module 'spikeforest2_utils' has no attribute '__version__' tridesclous 2021-01-26T22:47:44.012691: ###### RUNNING: tridesclous tridesclous 2021-01-26T22:47:45.858163: Sorting...
Any idea how to resolve this? Thanks!
The text was updated successfully, but these errors were encountered:
I had the same error.
To solve, I followed the instructions in https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package#459185
That is, in spikeforest2_utils folder I add a _version.py file with contents
spikeforest2_utils
_version.py
__version__ = '0.1.0' # the version as in setup.py
In the spikeforest2_utils.__init__.py file I add
spikeforest2_utils.__init__.py
... # other lines from ._version import __version__
I did pip install -e . again (from spikeforest2 root dir), but this may not be necessary.
pip install -e .
Then
python examples/example_tridesclous.py
Sorry, something went wrong.
No branches or pull requests
Hi,
I am trying to run the example
example_tridesclous.py
. However, it reported an error===== Hither: finished [tridesclous] with status error after 1.8500285148620605 sec
I checked the docker logs, and it showed this error
Any idea how to resolve this? Thanks!
The text was updated successfully, but these errors were encountered: