Hippocampome-Org / php

Hippocampome web portal
3 stars 2 forks source link

KM: [advanced search]: The v2.0 advanced search engine is not yielding correct search results #693

Closed drdiek closed 1 year ago

drdiek commented 2 years ago

The search engine is not working again. A few days ago the following query was producing several potential connections and today it produces none.

Connection:(Presynaptic:(Neuron:(Neurotransmitter:Excitatory AND Morphology:(Dendrites:EC:22??00 AND Soma:EC:?1???? AND Axons:EC:??1???) AND FiringPatternparameter:(istim_pa:>=200 AND delay_ms:>100))), Postsynaptic:(Neuron:(Neurotransmitter:Excitatory AND Morphology:(Dendrites:EC:22??00 AND Soma:EC:?1???? AND Axons:EC:??1???) AND FiringPatternparameter:(istim_pa:>=200 AND delay_ms:>100))))

Presynatic types: 6008 MEC LII-III Pyramidal-Multiform 6082 LII-III Pyramidal-Tripolar

Postsynatic types: 6008 MEC LII-III Pyramidal-Multiform 6082 LII-III Pyramidal-Tripolar

drdiek commented 1 year ago

The morphology matrix needs to be loaded before the Conndata database table is populated with connectivity information. @drdiek had commented out the section in getMorphology.php that performs this action. It has now been uncommented. The advanced search engine relies on Conndata to work properly, so this Issue is now solved.

drdiek commented 1 year ago

Odd, but the advanced search still does not work with Safari in MacOS. It does work with Edge and Chrome in both MacOS and Windows 11.