Closed rbelew closed 3 years ago
Call of sc.findinds() in interventions.find_day() needs to be updated:
sc.findinds()
interventions.find_day()
https://github.com/InstituteforDiseaseModeling/covasim/blob/6e4e870c3db204c69876f045637e73e32cb894d3/covasim/interventions.py#L38
generates exception: findinds() got an unexpected keyword argument 'val1'
findinds() got an unexpected keyword argument 'val1'
change to all_inds = sc.findinds(arr, val=t) to match updated call in newest (version 2020nov29) of sciris.sc_math.findinds()
all_inds = sc.findinds(arr, val=t)
sciris.sc_math.findinds()
Platform
Never mind; Cliff already caught it:)
Call of
sc.findinds()
ininterventions.find_day()
needs to be updated:https://github.com/InstituteforDiseaseModeling/covasim/blob/6e4e870c3db204c69876f045637e73e32cb894d3/covasim/interventions.py#L38
generates exception:
findinds() got an unexpected keyword argument 'val1'
change to
all_inds = sc.findinds(arr, val=t)
to match updated call in newest (version 2020nov29) ofsciris.sc_math.findinds()
Platform