This commit is contained in:
Jan Grewe 2021-03-06 11:04:08 +01:00
parent 580512582b
commit 3680178129
3 changed files with 6 additions and 7 deletions

View File

@ -31,8 +31,6 @@ for snd in SNDS_PATHS:
def get_sound(name):
if name in SNDS_DICT.keys():
print(name)
print(SNDS_DICT[name])
return QMediaContent(QUrl.fromLocalFile(os.path.abspath(SNDS_DICT[name])))
else:
print("Sound %s not found!" % name)

View File

@ -12,6 +12,10 @@ class MeasurementResults():
self._reaction_times.append(reaction_time)
@property
def results(self):
return self._reaction_times
@results.setter
def results(self, reaction_times):
self._reaction_times = reaction_times
@ -23,10 +27,7 @@ class MeasurementResults():
def starttime(self):
return self._task_timestamp
@property
@starttime.setter
def starttime(self, starttime):
self._task_timestamp = starttime
@property
def results(self):
return self._reaction_times

View File

@ -27,7 +27,7 @@ packages = [
"blipblop",
]
install_req = ["PyQt5", "numpy"]
install_req = ["PyQt5", "json", "os", "glob"]
data_files = [("icons", glob.glob(os.path.join("icons", "*.png"))),
("icons", glob.glob(os.path.join("icons", "*.ic*"))),