Skip to content

Commit

Permalink
Merge pull request #8 from suelynnmah/capitalise-C-in-cedrus
Browse files Browse the repository at this point in the history
ENH: capitalise C in cedrus
  • Loading branch information
TEParsons authored May 8, 2024
2 parents 9982467 + 7c75ffb commit f717795
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions psychopy_cedrus/components/cedrusBox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__author__ = 'Jon Peirce'


class cedrusButtonBoxComponent(KeyboardComponent):
class CedrusButtonBoxComponent(KeyboardComponent):
"""An event class for checking an Cedrus RBxxx button boxes
using XID library
Expand All @@ -40,7 +40,7 @@ def __init__(self, exp, parentName, name='buttonBox',
startType='time (s)', startVal=0.0,
stopType='duration (s)', stopVal=1.0,
startEstim='', durationEstim='',):
super(cedrusButtonBoxComponent, self).__init__(
super(CedrusButtonBoxComponent, self).__init__(
exp, parentName, name=name,
allowedKeys=allowedKeys, store=store, discardPrev=discardPrev,
forceEndRoutine=forceEndRoutine, storeCorrect=storeCorrect,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ where = ["",]
"*" = ["*.png",]

[project.entry-points."psychopy.experiment.components"]
cedrusButtonBoxComponent = "psychopy_cedrus.components.cedrusBox:cedrusButtonBoxComponent"
CedrusButtonBoxComponent = "psychopy_cedrus.components.cedrusBox:cedrusButtonBoxComponent"
RipondaButtonBoxBackend = "psychopy_cedrus.components.riponda:RipondaButtonBoxBackend"

[project.entry-points."psychopy.hardware.cedrus"]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_builder/test_ExampleComponent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from psychopy_cedrus.components.cedrusBox import cedrusButtonBoxComponent
from psychopy_cedrus.components.cedrusBox import CedrusButtonBoxComponent
from psychopy.tests.test_experiment.test_components.test_base_components import BaseComponentTests

class TestcedrusButtonBoxComponent(BaseComponentTests):
comp = cedrusButtonBoxComponent
class TestCedrusButtonBoxComponent(BaseComponentTests):
comp = CedrusButtonBoxComponent

0 comments on commit f717795

Please sign in to comment.