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

Get rid of python warning in gCNV code. #6226

Closed
samuelklee opened this issue Oct 24, 2019 · 1 comment · Fixed by #6245
Closed

Get rid of python warning in gCNV code. #6226

samuelklee opened this issue Oct 24, 2019 · 1 comment · Fixed by #6245

Comments

@samuelklee
Copy link
Contributor

Just a minor annoyance:

/home/slee/.pyenv/versions/anaconda3-5.3.1/envs/gatk/lib/python3.6/site-packages/gcnvkernel/io/io_commons.py:394: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result. mu_slice = mu_all[_get_singleton_slice_along_axis(mu_all, var_sample_axis, sample_index)] /home/slee/.pyenv/versions/anaconda3-5.3.1/envs/gatk/lib/python3.6/site-packages/gcnvkernel/io/io_commons.py:395: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result. std_slice = std_all[_get_singleton_slice_along_axis(mu_all, var_sample_axis, sample_index)]

@samuelklee
Copy link
Contributor Author

Hmm, just noting that I only see this when running in my local conda environment, and not with the Docker. 🤷‍♂️

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

Successfully merging a pull request may close this issue.

1 participant