thenineteen / Semiology-Visualisation-Tool

Data driven 3D brain visualisation of semiology. Semiology to anatomy translator based on over 4600 patients from 309 peer-reviewed articles.
MIT License
9 stars 6 forks source link

Custom Semiology queries Beta Database (syst_review_single_table) rather than Semio2Brain Database #182

Closed thenineteen closed 4 years ago

thenineteen commented 4 years ago

Related to #140:

After having updated to a new database Semio2Brain in resources a few weeks back, when I add a custom semiology mappings TLd, I still get the output as in #140 whereas if it were searching the new database I should get an error stating no such semiology found.

The output of loggings suggests MEGA_ANALYSIS is correctly reading the new Semio2Brain database (310 article etc) - is there another place where the previous version of the dataframe has been cached, maybe?

thenineteen commented 4 years ago

actually this was an issue that arises from setting the deafult cache behaviour to True - which was extremely confusing as it was finding semiologies that don't exist in the updated Database!

def getAdvancedSettingsTab(self):
        advancedTabWidget = qt.QWidget()
        advancedTabLayout = qt.QVBoxLayout(advancedTabWidget)

        self.useCacheCheckBox = qt.QCheckBox('Use cached queries if available')
        self.useCacheCheckBox.setChecked(False)

I've changed this behaviour to make it False so I can continue to calibrate

thenineteen commented 4 years ago

fixed in 97360196857e5b86006fc51bda9d930b0b8f4bdb