You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ~/generics/DistanceFunction.py, change the return string of DisplayName() of any of the distance function classes to "NA". Suppose this is "Chi Square Distance'
Start app and close the "error loading modules" window.
Reverse the change in step 1.
Reload all modules by going to the canonicizers tap, pressing the right control key, and clicking the "Reload all modules" button.
Select "Chi Square Distance" (or whichever class was modified in step 1) from the Analysis Methods tab, and the following error is printed to the CLI:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/mnt/p4s/code/Live/PyGAAP/PyGAAP_gui.py", line 1737, in <lambda>
find_description(t, l, d), add = "+")
File "/mnt/p4s/code/Live/PyGAAP/PyGAAP_gui.py", line 333, in find_description
+ API_dict[name].displayDescription()
KeyError: 'Chi Square Distance'
The text was updated successfully, but these errors were encountered:
To reproduce error:
~/generics/DistanceFunction.py
, change the return string ofDisplayName()
of any of the distance function classes to "NA". Suppose this is "Chi Square Distance'The text was updated successfully, but these errors were encountered: