Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variexpr: affected, unaffecteds #3

Open
1 of 2 tasks
brentp opened this issue Dec 14, 2018 · 0 comments
Open
1 of 2 tasks

variexpr: affected, unaffecteds #3

brentp opened this issue Dec 14, 2018 · 0 comments

Comments

@brentp
Copy link
Owner

brentp commented Dec 14, 2018

  • should be able to check sample.affected and sample.unaffected.where affected is a boolean
  • add affecteds = seq[Sample] and unaffecteds = seq[Sample] for any .ped file with any affected samples. Then user can write a function to iterator over these and return a boolean or number (yet to support numeric returns).

if duktape supported "fat arrow" functions, this would have a nice API. For now, it will have to do that the user runs a function, iterates over each affected or unaffected and returns a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant