Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tab-cmd committed Oct 2, 2024
1 parent 7bae7da commit 3a05c2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bcipy/display/paradigm/vep/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@ def draw_animation(self, stimuli: List[StimProps]) -> None:
while self.static_clock.getTime() < self.timing_animation:
for frame in range(frames):
self.draw_boxes()
self.draw_static()
for sym, sti in self.sti.items():
sti.pos = animation_paths[sym][frame]
sti.draw()
self.draw_static()
self.window.flip()
counter += 1
self.logger.debug(
Expand Down
2 changes: 1 addition & 1 deletion bcipy/task/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
'Task',
'TaskRegistry',
'TaskData',
"TaskMode"
'TaskMode'
]
2 changes: 1 addition & 1 deletion bcipy/task/orchestrator/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def initialize_copy_phrases(self) -> None:
}
"""
# load copy phrases from json file or take the task text if no file is provided
if self.parameters.get('copy_phrases_location') != "":
if self.parameters.get('copy_phrases_location'):
with open(self.parameters['copy_phrases_location'], 'r') as f:
copy_phrases = json.load(f)
self.copyphrases = copy_phrases['Phrases']
Expand Down

0 comments on commit 3a05c2d

Please sign in to comment.