Error when using BCPy2000 + FileFormat=GDF + TargetCode
Posted: 24 May 2013, 22:46
It seems that the FileFormat=GDF option does not work when using BCPy2000 and the BCPy2000 application defines a state called "TargetCode".
To reproduce.
Add the following to BCI2000\python\TriangleApplication.py around line 76:
Add the following to the end of the PythonSource line in BCI2000\batch\PythonDemo1_Triangle.bat :
Set Config works, but after pressing start, the log shows the following error repeated 4 times:
Interestingly the application continues but no data is written to disk.
I will go through my application and analysis code to change every instance of "TargetCode" to "TargetClass". However, this bug might be indicative of a more general issue so I thought it was worth posting.
-Chad
To reproduce.
Add the following to BCI2000\python\TriangleApplication.py around line 76:
Code: Select all
"TargetCode 2 0 0 0",Code: Select all
--FileFormat=GDFCode: Select all
2013-05-25T11:39:37 - Expression: State "TargetCode" was accessed during initialization or processing, but not checked for existence during preflight phase.I will go through my application and analysis code to change every instance of "TargetCode" to "TargetClass". However, this bug might be indicative of a more general issue so I thought it was worth posting.
-Chad