klusta-team / klustaviewa

LEGACY - Graphical interface for spike sorting manual stage in Python
Other
29 stars 17 forks source link

GUI does not show waveform-/correlograms-/ or featureview #71

Open nicoboehme opened 4 years ago

nicoboehme commented 4 years ago

image

Hi I tried installing KlustaViewa on Windows 10 Education Version 1909 but could not get it to run using the installation guide and trying different versions of miniconda and python. In some cases cmd did not know 'conda-envs' or could not get all the environment parameters needed from the environment.yml. In the end I tried the all-in-one installation for KlustaViewa 0.4.7. (as found on https://www.dropbox.com/s/tm8xyk5c322qgys/klustaviewa-setup.exe)

However, while I am now able to load my .kwik data into KlustaViewa, I do not get any results for waveform, correlograms or feature view. I made sure to have the .dat-file within the directory of the .kwik-file. A colleague of mine has KlustaViewa 0.4.6 installed via cmd and no problems with visualising this data (unfortunately he does not know how to install it anymore either). Does anyone have a similar problem and knows how to solve it? Or is there a better way to install KlustaViewa on Windows 10?

rossant commented 4 years ago

Have you also tried the newer version of klustaviewa named phy? https://github.com/cortex-lab/phy

nicoboehme commented 4 years ago

If possible I would like to stay with KlustaViewa, since all of our previous data was processed by my colleague using it. I worry that switching programs might interfere with comparability of our data.

rossant commented 4 years ago

Phy is expected to load Klustaviewa .kwik files normally, and the file format has not changed. Regarding your issue, have you tried updating your graphics driver to the latest version? Windows typically has problems with OpenGL

nicoboehme commented 4 years ago

Hi Cyrille,
thank you for your help so far, I did check my graphics driver and updated it. It did not solve my problem though... However, I took another attempt on installing KlustaViewa. I used Miniconda3 Version 4.1.11, then downgraded it with the commands from the install guide conda install conda-env=2.4 conda install conda=3 Therefore having conda Version 3.19.3 and python 3.5.2 (same as my colleague).

I then first installed Klusta as described on https://github.com/kwikteam/klusta without running into problems and after that I installed Klustaviewa with the Environment-win.yml. With that I actually encounter following problem

problem_klustaviewa_1

What I could get from my research is, that this could be because of an outdatet version of , but updating it would update the whole of conda, so for now I just continued. However, after that, trying to activate the environments leads to the issue of conda not recognising the 'activate' command.

Now, what I found interesting is, that if I was to install conda-env=2.4 again (thus upgrading to conda 4.3.5 and python 3.5.4), I am actually able to activate both envs klusta and klustaviewa via C:>activate klusta/klustaviewa. I was able to update both envs as well without problems after that using the pip commands. However, using the command E:[path to data]>klustaviewa simply does nothing. I don't get an error, it just jumps to the next command line.

If I would then install conda=3 again, the 'activate' would stop working again as well.

Below is the cmd.exe with the activation and no error message after installing both klusta and klustaviewa and downgrading to conda-env=2.4 :

problem_klustaviewa

The data as shown below is complete as well and does work on the PC of my colleague with klustaviewa 0.4.6

problem_klustaviewa_data

So I still did not manage to get KlustaViewa to run on my Windows 10 PC but maybe I am one step closer. If someone has further suggestions I would be thankfull.

rossant commented 4 years ago

There is an old standalone Windows installer here but I don't know if it still works... It is notoriously difficult to install old dependencies with conda in Windows...