Modifying stdpopsim.models.DemographicModel

16 views
Skip to first unread message

M.P Williams

unread,
Feb 1, 2024, 4:22:13 PM2/1/24
to msprime-users
Hi msprime devs,

I'm working with a stdpopsim.models.DemographicModel and was trying to modify one of the demographic migration parameters using the add_migration_rate_change() function, but I got an Attribute Error (pasted below). I then tried to extract out just the model and do the same thing, but it then appears to reset the demography. 

Do you have a solution for how I can modify specific parameters from std.popsim models?

Many thanks for your time and help and this community!
Matthew 


AttributeError: 'DemographicModel' object has no attribute 'add_migration_rate_change'  


Reply all
Reply to author
Forward
0 new messages