GADMA icon indicating copy to clipboard operation
GADMA copied to clipboard

Using latest version of Moments with GADMA

Open dmacguigan opened this issue 7 months ago • 3 comments

Hello,

I am attempting to set up a model with the Moments engine, but I'm running into trouble with poor documentation. It seems GADMA is stuck using an older version of Moments, and some functions like moments.Manips.split_1D_to_2D are deprecated in the latest version.

For example, from the Moments documentation (https://momentsld.github.io/moments/sfs/sfs.html):

Previous versions of moments required calling functions such as moments.Manips.split_1D_to_2D(fs, n0, n1) or moments.Manips.split_3D_to_4D_2(fs, n0, n1). The new API (fs.split(idx, n0, n1)) wraps the different split functions in moments.Manips so that we don’t need to worry about picking the correct split function.

Is it possible to use the latest version (1.4.2) of Moments with GADMA?

Thanks, Dan

dmacguigan avatar May 15 '25 14:05 dmacguigan