mnnpy icon indicating copy to clipboard operation
mnnpy copied to clipboard

NumbaDeprecationWarning

Open jayypaul opened this issue 4 years ago • 1 comments

/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.

jayypaul avatar May 12 '20 04:05 jayypaul

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

scottgigante avatar Jul 13 '20 16:07 scottgigante