mhhennig / HS2

Software for high density electrophysiology
GNU General Public License v3.0
26 stars 17 forks source link

bug with HS 0.3.7 #53

Closed samuelgarcia closed 2 months ago

samuelgarcia commented 3 years ago

Hi Matthias. to make benchmark I was trying to run HS on the same dataset than last year for the paper:

I have a bug.

Here the log file from spikeinterface:

{
    "sorter_name": "herdingspikes",
    "sorter_version": "0.3.7+git.45665a2b6438",
    "datetime": "2021-09-10T13:34:01.439598",
    "runtime_trace": [],
    "error": true,
    "error_trace": "Traceback (most recent call last):\n  File \"/home/samuel.garcia/Documents/SpikeInterface/spikeinterface/spikeinterface/sorters/basesorter.py\", line 198, in run_from_folder\n    SorterClass._run_from_folder(output_folder, sorter_params, verbose)\n  File \"/home/samuel.garcia/Documents/SpikeInterface/spikeinterface/spikeinterface/sorters/herdingspikes/herdingspikes.py\", line 212, in _run_from_folder\n    uids = C.spikes.cl.unique()\n  File \"/home/samuel.garcia/.virtualenvs/py38/lib/python3.8/site-packages/pandas/core/generic.py\", line 5465, in __getattr__\n    return object.__getattribute__(self, name)\nAttributeError: 'DataFrame' object has no attribute 'cl'\n",
    "run_time": null
}

The columns cl seams to be missing from the dataframe C.spike ....

mhhennig commented 2 years ago

Is this fixed now?

samuelgarcia commented 2 years ago

I don't known. I will check this.