Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBooth committed Oct 24, 2023
1 parent 129a51c commit d63bded
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Tests/test_Pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_run_bci():
while True:
currentMarkers = bci.ReceivedMarkerCount() # check to see how many received epochs, if markers sent to close together will be ignored till done processing
time.sleep(0.5) # wait for marker updates
print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
#print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
if len(currentMarkers) > 1: # check there is more then one marker type received
marker_received = True
if min([currentMarkers[key][1] for key in currentMarkers]) > bci.minimumEpochsRequired:
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_Simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_run_bci():
while True:
currentMarkers = bci.ReceivedMarkerCount() # check to see how many received epochs, if markers sent to close together will be ignored till done processing
time.sleep(0.5) # wait for marker updates
print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
#print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
if len(currentMarkers) > 1: # check there is more then one marker type received
marker_received = True
if min([currentMarkers[key][1] for key in currentMarkers]) > bci.minimumEpochsRequired:
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_Sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_run_bci():
while True:
currentMarkers = bci.ReceivedMarkerCount() # check to see how many received epochs, if markers sent to close together will be ignored till done processing
time.sleep(0.5) # wait for marker updates
print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
#print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
if len(currentMarkers) > 1: # check there is more then one marker type received
marker_received = True
if min([currentMarkers[key][1] for key in currentMarkers]) > bci.minimumEpochsRequired:
Expand Down
2 changes: 1 addition & 1 deletion Tests/test_Tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_run_bci():
while True:
currentMarkers = bci.ReceivedMarkerCount() # check to see how many received epochs, if markers sent to close together will be ignored till done processing
time.sleep(0.5) # wait for marker updates
print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
#print("Markers received: " + str(currentMarkers) +" Accuracy: " + str(round(accuracy,2)), end=" \r")
if len(currentMarkers) > 1: # check there is more then one marker type received
marker_received = True
if min([currentMarkers[key][1] for key in currentMarkers]) > bci.minimumEpochsRequired:
Expand Down

0 comments on commit d63bded

Please sign in to comment.