Skip to content

Commit

Permalink
the red box disappears, and Trigger doesn't work. I used egyptian_bac…
Browse files Browse the repository at this point in the history
…kward_trigger.csv for test run.
  • Loading branch information
Hzaatiti committed Nov 29, 2024
1 parent 76a48b7 commit 96c0458
Show file tree
Hide file tree
Showing 2,978 changed files with 163 additions and 166 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -772,18 +772,18 @@ def create_img_of_sentence(sentence_string, font_path, font_size=12, seperator="
'emirati_bound.csv',
]

# SAVE_PATH = ['../../jon_language_study/egyptian_backward/',
# '../../jon_language_study/egyptian_bound/',
# '../../jon_language_study/emirati_backward/',
# '../../jon_language_study/emirati_bound/',
# ]

SAVE_PATH = ['./egyptian_backward/',
'./egyptian_bound/',
'./emirati_backward/',
'./emirati_bound/',
SAVE_PATH = ['../../jon_language_study/egyptian_backward/',
'../../jon_language_study/egyptian_bound/',
'../../jon_language_study/emirati_backward/',
'../../jon_language_study/emirati_bound/',
]

# SAVE_PATH = ['./egyptian_backward/',
# './egyptian_bound/',
# './emirati_backward/',
# './emirati_bound/',
# ]

for csv_i in range(len(csv_files)):
# Load the CSV file
#csv_file = 'egyptian_backward_debugging.csv' # Path to your CSV file
Expand All @@ -804,8 +804,8 @@ def create_img_of_sentence(sentence_string, font_path, font_size=12, seperator="
from bidi.algorithm import get_display

# PIL font parameters
font_path = "C:\Windows\Fonts\\arial.ttf"
font_size = 64
font_path = "C:\Windows\Fonts\\calibri.ttf"
font_size = 100

for index in range(df['sentence'].size):
#for index in range(1):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def RGB2Trigger(color):
font=stimuliFont, units=stimuliUnits, height=stimuliSize, color=stimuliColor)
stim.setPos((0, 0))


if wordIndex == max(range(numWords)):
for frameN in range(lastWordOn):
stim.draw()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 96c0458

Please sign in to comment.