>>> import numpy
>>> from numpy import array
>>> import dadi
>>> data = dadi.Spectrum.from_file('CONTINENTAL.fs')
>>> ns = data.sample_sizes
>>> pts_l = [40,50,60]
>>> func = dadi.Integration.three_pops
>>> func_ex = dadi.Numerics.make_extrap_log_func(func)
>>> params = ([1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0.5, 0.5, 1, 0])
>>> model = func_ex(params, ns, pts_l)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/dadi/Numerics.py", line 294, in extrap_func
File "build/bdist.linux-x86_64/egg/dadi/Integration.py", line 330, in three_pops
AttributeError: 'list' object has no attribute 'copy'
--
You received this message because you are subscribed to the Google Groups "dadi-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dadi-user+...@googlegroups.com.
To post to this group, send email to dadi...@googlegroups.com.
Visit this group at https://groups.google.com/group/dadi-user.
For more options, visit https://groups.google.com/d/optout.