-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Traceback (most recent call last):
File "/home/peptide/xDeep-AcPEP/prediction/prediction.py", line 77, in
temp_fea_file = feature_generator(fasta_data_file, temp_fea_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/peptide/xDeep-AcPEP/prediction/feature_generator.py", line 41, in feature_generator
np.save(temp_file_path, aa_feature_list)
File "/anaconda3/lib/python3.11/site-packages/numpy/lib/npyio.py", line 545, in save
arr = np.asanyarray(arr)
^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (4, 2) + inhomogeneous part.
Metadata
Metadata
Assignees
Labels
No labels