Closed arinavsar closed 4 years ago
@arinavsar Thanks for reporting this! :-/ that's very weird. It looks like there error message is truncated though, can you post the end?
Yes, of course!
IndexError Traceback (most recent call last)
Ok, I found the problem. You need to define the environment variable to be the path to the data folder, see this example: https://colab.research.google.com/drive/1xm82ng1e_b7YOQeMXoOd5dtIZ2k29w_d
This is embarrassing, sorry about that ^^' but I have opened a PR #12 @VMBoehm @changhoonhahn ;-) that should remove the need to define this variable
Thank you so much!
When I try to run Data._make_data(), it is giving me this error
Traceback (most recent call last): File "", line 1, in
File "/Users/arinavsar/Desktop/MnuLFI-master/mnulfi/data.py", line 130, in _make_data
avg_peak = np.average(peaks, axis=1)
File "<__array_function__ internals>", line 6, in average
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/lib/function_base.py", line 390, in average
avg = a.mean(axis)
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/core/_methods.py", line 138, in _mean
rcount = _count_reduce_items(arr, axis)
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/core/_methods.py", line 57, in _count_reduce_items
items *= arr.shape[ax]