Skip to content
Snippets Groups Projects
Commit 28c9b08e authored by Tibor Auer's avatar Tibor Auer
Browse files

DEBUG: save stimulation intensity

parent dd3de6f0
No related branches found
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ if __name__ == '__main__':
for item in log:
if len(item) < 2 or (item[1].find('EXP') == -1 and item[2].find('Stimulation') == -1): continue
if item[2].find('Stimulation') >= 0:
ev.writerow([round(float(item[0]),4), 30, 'Stimulation_'+expInfo['stimulation intensity [mA]'], None, int(item[2].split(' - ')[2].split(': ')[1])])
ev.writerow([round(float(item[0]),4), 30, 'Stimulation_'+str(expInfo['stimulation intensity [mA]']), None, int(item[2].split(' - ')[2].split(': ')[1])])
continue
if any(item[2].find(evs) >= 0 for evs in ['Sample', 'Match', 'Response']):
if itemToWrite[0] is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment