Fix confusing variable name#56
Conversation
RomanSyunyaev
left a comment
There was a problem hiding this comment.
Joe, have you test it?
I feel like this [i for i, line in enumerate(protocol_desc) if line[2] == 40][0] is going to be a list. X+1 should not work properly, when X is a list (only when X is a numpy array). Am I wrong here?
So it should be something like i+1 for i, ... isntead.
I'll test locally now. It looks like something's broken with the workflow |
|
It seems to work fine locally, and the testing workflow is running now. |
RomanSyunyaev
left a comment
There was a problem hiding this comment.
Tested it as well, seems to be working since that's integer not a list. My bad.
Description
Fix the calculation of the index of the first -120mV step.
The variable first_120mV_step_index was originally assigned the index of the preceding +40mV step, causing confusion.
Types of changes
Testing
Documentation checklist