I am trying to process some red and green tissue slides and I receive the following error. Do you have any idea what this means? I was able to get nmj_analyzer to work for the test data, but not our data.
Control_PNG user_name/$ nmj_analyzer
X Resolution: "0.48"
Z Resolution: "1.750"
ID: ""
threshold: "64"
Path to images: "/Users/user_name/Documents/nmj_analyzer/new_NMJ_files/Control_PNG/"
Path to saved output: "/Users/user_name/Documents/nmj_analyzer/new_NMJ_files/"
0 0
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/tkinter/init.py", line 1705, in call
return self.func(*args)
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/nmj_analyzer.py", line 99, in
command=(lambda e=ents: fetch_and_process(e)))
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/nmj_analyzer.py", line 14, in fetch_and_process
process_subject(dict_arg['path_images'], dict_arg['path_save'] , dict_arg['name'], thresh=thresh, pixdim=pixdim)
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/Processing.py", line 173, in process_subject
array_img = np.reshape(np.asarray(list(img_file.getdata()))[:, 0],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
I am trying to process some red and green tissue slides and I receive the following error. Do you have any idea what this means? I was able to get nmj_analyzer to work for the test data, but not our data.
Control_PNG user_name/$ nmj_analyzer X Resolution: "0.48" Z Resolution: "1.750" ID: "" threshold: "64" Path to images: "/Users/user_name/Documents/nmj_analyzer/new_NMJ_files/Control_PNG/" Path to saved output: "/Users/user_name/Documents/nmj_analyzer/new_NMJ_files/" 0 0 Exception in Tkinter callback Traceback (most recent call last): File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/tkinter/init.py", line 1705, in call return self.func(*args) File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/nmj_analyzer.py", line 99, in
command=(lambda e=ents: fetch_and_process(e)))
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/nmj_analyzer.py", line 14, in fetch_and_process
process_subject(dict_arg['path_images'], dict_arg['path_save'] , dict_arg['name'], thresh=thresh, pixdim=pixdim)
File "/Users/user_name/miniconda/envs/nmj_analyzer/lib/python3.7/site-packages/nmj_analyzer/Processing.py", line 173, in process_subject
array_img = np.reshape(np.asarray(list(img_file.getdata()))[:, 0],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed