I encountered errors saying 'ValueError: Found array with 0 sample(s) (shape=(0, 2000)) while a minimum of 1 is required by MaxAbsScaler.' when my cell number can be divided by the default chunk_size. I think line 185 in function.py should be changed from 'for i in range(len(idx)//chunk_size+1):' to 'for i in range(int(np.ceil(len(idx)/chunk_size))):'.
I encountered errors saying 'ValueError: Found array with 0 sample(s) (shape=(0, 2000)) while a minimum of 1 is required by MaxAbsScaler.' when my cell number can be divided by the default chunk_size. I think line 185 in function.py should be changed from 'for i in range(len(idx)//chunk_size+1):' to 'for i in range(int(np.ceil(len(idx)/chunk_size))):'.