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

NumbaDeprecationWarning #35

Open
jayypaul opened this issue May 12, 2020 · 1 comment
Open

NumbaDeprecationWarning #35

jayypaul opened this issue May 12, 2020 · 1 comment

Comments

@jayypaul
Copy link

/Users/cahanlab/anaconda3/envs/pyEnv2/lib/python3.6/site-packages/numba/object_mode_passes.py:188: NumbaDeprecationWarning:
Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.

For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit

File "../../../../anaconda3/envs/pyEnv2/lib/python3.6/site-packages/mnnpy/utils.py", line 107:
def compute_correction(data1, data2, mnn1, mnn2, data2_or_raw2, sigma):

vect_reduced = np.zeros((data2.shape[0], vect.shape[1]), dtype=np.float32)
for index, ve in zip(mnn2, vect):
^

Does this lead to a failure in batch correction? I'm having a hard time figuring out whether the batch correction worked or not.

@scottgigante
Copy link

+1 on fixing this. These warnings are extremely verbose and it makes it hard to see if there are any relevant warnings.

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