Version 3.3.4 #1342
cliffckerr
announced in
Announcements
Version 3.3.4
#1342
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
ss.CampaignDeliveryfailing to initialize on date-based timelines:init_pre()now compares against the floatsim.t.yearvecinstead of the date-typedsim.timevec, which causedsc.findnearestto crash because subtractingss.dateobjects producesdatedur.ss.CampaignDeliverymissing acoverage_distplaceholder in__init__, which causedAttributeErroron the first delivery. This affectedss.campaign_screening,ss.campaign_triage, andss.campaign_vx.ss.RoutineDeliveryoff-by-one whendt = 1:adj_factoris now0(was1) fordt >= 1, so the intervention no longer runs for one extra year pastend_year. The previous behavior also caused anIndexErrorwhen a per-yearprobarray was supplied.RoutineDelivery.yearvecwithself.timepointsby slicingsim.t.yearvecdirectly, ensuringprobfromsc.smoothinterpalways matches the timepoint length.ss.routine_screening,ss.routine_triage, andss.routine_vxwithdt = 1will now stop one year earlier than before (atend_yearrather thanend_year + 1).RoutineDeliveryandCampaignDeliveryintests/test_interventions.py.This discussion was created from the release Version 3.3.4.
All reactions