-
Notifications
You must be signed in to change notification settings - Fork 223
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
index samples by sample name for easier access. #2
Conversation
SHA: c1af7f5 should be a separate pull request, but I can't see how to do that. It adds a genotypes() method so that one can get the un-encoded genotypes from the encoded ones. |
A good case for an OrderedDict so that we can access by name, but iterating the values provides the order as in the file? |
Seems reasonable, especially since it's usually going to be a fairly small dictionary. I'll add this to the pull request later today. |
although OrderedDicts are not in python2.6 collections |
Always with your backwards compatibility! Oh well, it was a nice to have, but version for 2.6 listed here: not sure its worth a dependency. |
Please continue issue at jamescasbon#1 |
A quick note since everyone is watching this issue. I have fixed this on my fork using OrderedDict from collections. If python<2.7 setup.py should install some code to do that. |
No description provided.