Skip to content

Implement check that Lefts/ascertainIn/calculateFor do not contain the same population multiple times. #2

@TCLamnidis

Description

@TCLamnidis

Currently, a user can repeat a population name in the comma separated lists provided to Lefts/ascertainIn/calculateFor, which throws RAS calculation off balance, since the repeated individuals are counted multiple times in the Allele count determination etc.

A quick check that no elements of these lists are duplicated should be implemented, and an error thrown. Execution can then continue while only using the unique elements of each list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions