Skip to content

Parse x[I] to use Slice(arg=x, index=i) #10

@walterxie

Description

@walterxie

From Alexei:

It would be nice if Slice(arg=x, index=i) could be replaced by x[I], so

Simplex r ~ WeightedDirichlet(alpha=[1.0, 1.0, 1.0], weights=[209, 210, 210]);

SiteModelGI siteModel1 = SiteModelGI(substModel=hky1, mutationRate=r[0]);
SiteModelGI siteModel2 = SiteModelGI(substModel=hky2, mutationRate=r[1]);
SiteModelGI siteModel3 = SiteModelGI(substModel=hky3, mutationRate=r[2]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions