You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Malik discovered an edge case here (same code in sup3r): If row_loc or col_loc is [0] then not any() will be True even though a location was found. Should we change the not any() to not len() > 0?
The text was updated successfully, but these errors were encountered:
https://github.com/NREL/nsrdb/blob/36e9af32b61919573c4e98aff7e440920a85cf7b/nsrdb/file_handlers/collection.py#L168:L183
Malik discovered an edge case here (same code in sup3r): If
row_loc
orcol_loc
is[0]
thennot any()
will be True even though a location was found. Should we change thenot any()
tonot len() > 0
?The text was updated successfully, but these errors were encountered: