Closed stsmall closed 1 year ago
shoot ... forgot I also zip annotations and DFE to link them in the expand fx. Else expand creates all iterations. Seemed easier to control and returns only expected and sensible combinations.
@stsmall this looks fine. is the plan to push a few of these small PRs before the bigger one?
Well ... I would rather make a big PR. @chriscrsmith and I tested the code on Friday (chris ran it on the server w/out error) and I tested the code all weekend with different params. Everything ran without error and pretty fast. Today Chris and I met to discuss how to PR the fixes and I walked him through the code modifications. Problem is that most of the code is dependent on the new {pop} dir and wildcard in the n_t.smk and that is a breaking change with the current n_t.snake. So all the methods (msmc.py, smc.py, stairway.py, gone.py, plots.py) need to be pushed along with the modified n_t.smk. So if you are OK with it, then I can make a big push.
I talked @stsmall into doing this tiny PR. I think it would be a lot easier for him/us to do a bigger PR; but maybe harder for the people reviewing the code
got it. so let's merge this and then move to your big PR?
checked out the pr and the sims run
right on. i'll squash and merge
Warning of deprecation error where previous input was vector of pop sizes. Now build dict from stdpopsim model w/ popsizes and pop names