PhonologicalCorpusTools / SLPAA

5 stars 0 forks source link

"Whole hand" not available in Location or Relation (handpart) on two different branches, for users with Apple M2 chips #258

Closed kvesik closed 6 months ago

kvesik commented 6 months ago

Brought up at 20231218 meeting: Two RAs (GH & YG) who are using computers with the newer Apple M2 chip are not seeing updated functionality as intended, in both the main branch and the oct2023_main_before_restructure branch.

On both of these branches, they get neither "whole hand" nor "other hand" in relation / specify handpart. And in Location, they get "other hand" instead of "whole hand". Ideally both should be "whole hand" (as on my Windows11 machine, eg).

location_models.py has a line of code that explicitly builds the hand-locations options including "Whole hand". In main (line 230):

locn_options_hand = LocnOptionsNode("Whole hand", fx, rb, hs, hand_surfaces, hand_subareas, children=[

In oct2023_main_before_restructure (lines 114-115):

locn_options_hand = {
    ("Whole hand", fx, rb, u, hb, allow, no_exceptions, disallow, no_exceptions): {

... so if the location options in the GUI don't include "Whole hand" then this code must not even be present/accessible? I'll ask these folks to manually investigate that file and see what they've got for locn_options_hand. Curious to know if this is an issue with fetching/pulling new changes, or something with the running of the code itself.

kvesik commented 6 months ago

After some investigation, it turns out that this was not related to the Apple M2 chip at all-- total coincidence!

The issue was actually that both users had accidentally cloned the SLPAA repository twice, and were unknowingly updating one copy while running the other. I helped them delete the copy that was not being updated, and made sure they knew where the up-to-date copy is so they can run it successfully. Hooray!