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

Python version doesn't support a single phenotype #5

Open
regevs opened this issue Jul 23, 2020 · 1 comment
Open

Python version doesn't support a single phenotype #5

regevs opened this issue Jul 23, 2020 · 1 comment

Comments

@regevs
Copy link
Contributor

regevs commented Jul 23, 2020

When trying to load a phenotype file with a single phenotype, you get:

Traceback (most recent call last):
  File "/home/ec2-user/git/feather/permutation_testing.py", line 468, in <module>
    for i in trange(phenotypes.shape[1]):
IndexError: tuple index out of range

This is because np.loadtxt returns a 1-d array in this case.

@dleopold
Copy link

The python version also throws an error with a single continuous covariate.

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

2 participants