[fixes]
This commit is contained in:
parent
580512582b
commit
3680178129
@ -31,8 +31,6 @@ for snd in SNDS_PATHS:
|
|||||||
|
|
||||||
def get_sound(name):
|
def get_sound(name):
|
||||||
if name in SNDS_DICT.keys():
|
if name in SNDS_DICT.keys():
|
||||||
print(name)
|
|
||||||
print(SNDS_DICT[name])
|
|
||||||
return QMediaContent(QUrl.fromLocalFile(os.path.abspath(SNDS_DICT[name])))
|
return QMediaContent(QUrl.fromLocalFile(os.path.abspath(SNDS_DICT[name])))
|
||||||
else:
|
else:
|
||||||
print("Sound %s not found!" % name)
|
print("Sound %s not found!" % name)
|
||||||
|
@ -12,6 +12,10 @@ class MeasurementResults():
|
|||||||
self._reaction_times.append(reaction_time)
|
self._reaction_times.append(reaction_time)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
def results(self):
|
||||||
|
return self._reaction_times
|
||||||
|
|
||||||
|
@results.setter
|
||||||
def results(self, reaction_times):
|
def results(self, reaction_times):
|
||||||
self._reaction_times = reaction_times
|
self._reaction_times = reaction_times
|
||||||
|
|
||||||
@ -23,10 +27,7 @@ class MeasurementResults():
|
|||||||
def starttime(self):
|
def starttime(self):
|
||||||
return self._task_timestamp
|
return self._task_timestamp
|
||||||
|
|
||||||
@property
|
@starttime.setter
|
||||||
def starttime(self, starttime):
|
def starttime(self, starttime):
|
||||||
self._task_timestamp = starttime
|
self._task_timestamp = starttime
|
||||||
|
|
||||||
@property
|
|
||||||
def results(self):
|
|
||||||
return self._reaction_times
|
|
||||||
|
2
setup.py
2
setup.py
@ -27,7 +27,7 @@ packages = [
|
|||||||
"blipblop",
|
"blipblop",
|
||||||
]
|
]
|
||||||
|
|
||||||
install_req = ["PyQt5", "numpy"]
|
install_req = ["PyQt5", "json", "os", "glob"]
|
||||||
|
|
||||||
data_files = [("icons", glob.glob(os.path.join("icons", "*.png"))),
|
data_files = [("icons", glob.glob(os.path.join("icons", "*.png"))),
|
||||||
("icons", glob.glob(os.path.join("icons", "*.ic*"))),
|
("icons", glob.glob(os.path.join("icons", "*.ic*"))),
|
||||||
|
Loading…
Reference in New Issue
Block a user