jjb-hub / IGOR_phd

0 stars 0 forks source link

FIX TypeError ap_characteristics_extractor_subroutine_derivative #28

Closed jjb-hub closed 10 months ago

jjb-hub commented 11 months ago

expandDF now adds columns 'error' and 'traceback' to the expandedDF (i needed this so I can work on the files that do run and you can easily identify where bugs are coming from)

the vast majority of files have this error - could you please help me understand why and resolve it

ap_characteristics_extractor_subroutine_derivative(V_dataframe, sweep_num) as called in _handelfile() TypeError: cannot unpack non-iterable NoneType object

ADDITIONALLY: if there are no APs in a trace I would like the columns 'AP_locs' and pAD_count' to have 0 not NaN

jjb-hub commented 11 months ago

FI_slope works but AP_height no!

jjb-hub commented 11 months ago

Screen Shot 2023-12-05 at 19 01 54 here is a cell in the notebook that can be used to have a look at whats is happening

debapratimj commented 10 months ago

TypeError: cannot unpack non-iterable NoneType object

Issue solved by returning correct variables calculated by subroutine_derivative. Otherwise it was trying to unpack a NoneTyoe object and hence the error. Solved on djissues26&28 and merged with jasmine branch