Skip to content
New issue

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

Issue Updating clusters_ContamPct.tsv: MIME Error the cause? #1308

Open
ryanlash opened this issue Sep 23, 2024 · 0 comments
Open

Issue Updating clusters_ContamPct.tsv: MIME Error the cause? #1308

ryanlash opened this issue Sep 23, 2024 · 0 comments

Comments

@ryanlash
Copy link

Hi all!

I am sorting with KS4 on a Cambridge H6 ASSY236 64-channel probe, and I'm able to manually curate just fine but for whatever reason when I'm done manually curating a cluster or I adjust the refactory period in the ACG view, the .tsv fails to update. I have been getting this MIME error, but not clear how this may be correlated to the issue with updating the .tsv. I have tried uninstalling and reinstalling via a new conda environment but did not seem to resolve. Any suggestions? Here is the debug output I get:

kilosort4>phy template-gui params.py --debug
17:05:37.039 [D] init:68 Start capturing exceptions.
17:05:37.400 [D] model:619 Loading spike clusters.
17:05:37.506 [W] model:625 Unreferenced clusters found in spike_clusters (generally not a problem)
17:05:37.563 [D] model:569 No channel shank file found.
17:05:37.564 [D] model:692 Loading templates.
17:05:37.605 [D] model:724 Templates are dense.
17:05:37.736 [W] model:667 Skipping spike waveforms that do not exist, they will be extracted on the fly from the raw data as needed.
17:05:37.740 [D] model:730 Loading the whitening matrix.
17:05:37.748 [D] model:737 Loading the inverse of the whitening matrix.
17:05:37.771 [D] model:766 Loading features.
17:05:37.797 [D] model:781 Features are sparse.
17:05:37.798 [D] model:803 Loading template features.
17:05:37.880 [D] model:530 Load spike_detection_templates.npy.
17:05:38.053 [D] model:530 Load spike_positions.npy.
17:05:38.055 [D] model:504 Load cluster_Amplitude.tsv.
17:05:38.069 [D] model:504 Load cluster_ContamPct.tsv.
17:05:38.094 [D] model:504 Load cluster_group.tsv.
17:05:38.114 [D] model:504 Load cluster_KSLabel.tsv.
17:05:38.593 [D] context:100 Initialize joblib cache dir at \kilosort4\.phy.
17:05:38.603 [D] context:101 Reducing the size of the cache if needed.
17:05:45.965 [D] base:102 Add filter high_pass.
17:05:45.971 [D] config:31 Load config file C:\Users\rylash\.phy\phy_config.py.
17:05:45.973 [D] plugin:146 Loading 0 plugins.
17:05:45.977 [D] context:126 Load memcache for phy.apps.base._get_mean_waveforms.
17:05:45.987 [D] context:126 Load memcache for phy.apps.base._get_mean_waveforms.
17:05:46.002 [D] context:126 Load memcache for phy.apps.base._get_template_waveforms.
17:05:46.012 [D] context:126 Load memcache for phy.apps.base.get_mean_spike_template_amplitudes.
17:05:46.023 [D] context:126 Load memcache for phy.apps.base.get_template_counts.
17:05:46.039 [D] context:126 Load memcache for phy.apps.base.get_template_for_cluster.
17:05:46.051 [D] context:126 Load memcache for phy.apps.template.gui.get_template_amplitude.
17:05:46.062 [D] context:126 Load memcache for phy.apps.base.get_cluster_amplitude.
17:05:46.072 [D] context:126 Load memcache for phy.apps.base.get_mean_firing_rate.
17:05:46.080 [D] context:126 Load memcache for phy.apps.base.get_best_channel.
17:05:46.091 [D] context:126 Load memcache for phy.apps.template.gui.get_best_channels.
17:05:46.164 [D] context:126 Load memcache for phy.apps.base.get_channel_shank.
17:05:46.177 [D] context:126 Load memcache for phy.apps.base.get_probe_depth.
17:05:46.187 [D] context:126 Load memcache for phy.apps.base.peak_channel_similarity.
17:05:46.372 [D] context:185 Save data to \kilosort4\.phy\spikes_per_cluster.pkl.
17:05:46.724 [D] gui:463 Creating GUI.
17:05:46.752 [D] state:46 Load C:\Users.phy\TemplateGUI\state.json for GUIState.
17:05:46.759 [D] state:46 Load \kilosort4.phy\state.json for GUIState.
17:05:47.221 [D] gui:718 Add view ClusterView to GUI.
17:05:47.231 [D] gui:718 Add view SimilarityView to GUI.
17:05:47.277 [D] gui:718 Add view WaveformView to GUI.
17:05:47.282 [D] base:337 Set state for WaveformView.
17:05:47.295 [D] gui:718 Add view CorrelogramView to GUI.
17:05:47.299 [D] base:337 Set state for CorrelogramView.
17:05:47.332 [D] gui:718 Add view ISIView to GUI.
17:05:47.336 [D] base:337 Set state for ISIView.
17:05:47.363 [D] gui:718 Add view FeatureView to GUI.
17:05:47.367 [D] base:337 Set state for FeatureView.
17:05:47.397 [D] gui:718 Add view AmplitudeView to GUI.
17:05:47.400 [D] base:337 Set state for AmplitudeView.
17:05:47.426 [D] gui:718 Add view FiringRateView to GUI.
17:05:47.430 [D] base:337 Set state for FiringRateView.
17:05:47.517 [D] gui:718 Add view TraceView to GUI.
17:05:47.520 [D] base:337 Set state for TraceView.
17:05:47.523 [D] base:494 Set color scheme to random.
17:05:47.634 [D] base:1626 Adding default color schemes to TraceView.
17:05:47.686 [D] gui:718 Add view ProbeView to GUI.
17:05:47.690 [D] base:337 Set state for ProbeView.
17:05:47.715 [D] gui:718 Add view ClusterScatterView to GUI.
17:05:47.720 [D] base:337 Set state for ClusterScatterView.
17:05:47.723 [D] base:494 Set color scheme to random.
17:05:47.726 [D] base:1626 Adding default color schemes to ClusterScatterView.
17:05:47.944 [D] gui:519 Load the geometry state.
QMimeDatabase: Error loading internal MIME data
An error has been encountered at line 1 of : Premature end of document.:

17:05:48.435 [D] supervisor:817 Clusters selected: [70] (39)
17:06:04.643 [D] interact:433 Lasso has 1 points.
17:06:05.516 [D] interact:433 Lasso has 2 points.
17:06:14.593 [D] interact:433 Lasso has 1 points.
17:06:17.494 [D] interact:433 Lasso has 2 points.
17:06:22.203 [D] interact:433 Lasso has 3 points.
17:06:26.908 [D] interact:433 Lasso has 4 points.
17:06:32.183 [D] interact:433 Lasso has 5 points.
17:06:35.228 [I] supervisor:702 Assigned 140329 spikes.

Any feedback is helpful, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant