uncomment tracing
@@ -307,10 +307,10 @@ class contact_tracing(Intervention):
'''
A method to trace a person's contacts
'''
-# if lkey,layer in self.contacts.items():
-# this_trace_prob = trace_probs[lkey]
-# new_contact_keys = cvu.bf(this_trace_prob, self.contacts[ckey])
-# self.dyn_cont_ppl.update({nck:trace_time[ckey] for nck in new_contact_keys})
+ if (lkey,layer) in self.contacts.items():
+ this_trace_prob = trace_probs[lkey]
+ new_contact_keys = cvu.bf(this_trace_prob, self.contacts[ckey])
+ self.dyn_cont_ppl.update({nck:trace_time[ckey] for nck in new_contact_keys})
return
