nalmadi / EMIP-Toolkit

EMIP Toolkit (EMTK): A Python Library for Processing Eye Movement in Programming Data
16 stars 22 forks source link

(Bug) In the Jupyter notebook for the the Eyelink1000 #48

Closed TheWeisGuy closed 2 years ago

TheWeisGuy commented 2 years ago

im = EMIP[subject_ID].trial[trial_num].draw_trial(image_path, draw_raw_data=False, draw_fixation=True, draw_saccade=False, draw_number=True, draw_aoi=True)

When draw_saccade is set to true it gives an error claiming a font is missing

sdotpeng commented 2 years ago

Hi,

I believe the font needs to be under the resource folder.

On Sun, Dec 19, 2021 at 6:00 PM TheWeisGuy @.***> wrote:

im = EMIP[subject_ID].trial[trial_num].draw_trial(image_path, draw_raw_data=False, draw_fixation=True, draw_saccade=False, draw_number=True, draw_aoi=True)

When draw_saccade is set to true it gives an error claiming a font is missing

— Reply to this email directly, view it on GitHub https://github.com/nalmadi/EMIP-Toolkit/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAM5LCEKI2USV7Z5GVXI4DURZPYBANCNFSM5KMMS72Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nalmadi commented 2 years ago

Thanks @sdotpeng, which resource folder?

sdotpeng commented 2 years ago

I think that folder was removed. Should I pull the latest, add the font, and make another pull request?

nalmadi commented 2 years ago

We arranged the datasets into zip files, do you want to add the font to the zip file of AlMadi2018 dataset? Do you think that would work?

Thank you!

sdotpeng commented 2 years ago

Sure! I will do that!

nalmadi commented 2 years ago

Thank you! Let's test this by running the EyeLink1000 Jupyter notebook with draw_saccade = True

quanphan2906 commented 2 years ago

With the latest version, draw_trial uses the default font, so there is no need to add external font.