ryansmcgee/seirsplus

'SymptomaticSEIRSNetworkModel' object has no attribute 'D_I_S'

billlyzhaoyh opened this issue · 2 comments

When using NodeGroupData, these two lines in the SymptomaticSEIRSNetworkModel are standalone and self.D_I_S and Self.D_I_A don't seem to be defined anywhere else:

self.nodeGroupData[groupName]['numD_I_S'][0] = numpy.count_nonzero(self.nodeGroupData[groupName]['mask']*self.X==self.D_I_S) self.nodeGroupData[groupName]['numD_I_A'][0] = numpy.count_nonzero(self.nodeGroupData[groupName]['mask']*self.X==self.D_I_A)

it appears as they should be self.D_S and self.D_A instead!

This class was de facto deprecated and is now no longer in the package.