-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
python ufold_test.py --test_files TS2 throws an error after clean install on Ubuntu 22.04.4 LTS:
Traceback (most recent call last):
File "/root/UFold/ufold_test.py", line 341, in <module>
main()
File "/root/UFold/ufold_test.py", line 274, in main
test_data = RNASSDataGenerator('data/',test_file+'.cPickle')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/UFold/ufold/data_generator.py", line 28, in __init__
self.load_data()
File "/root/UFold/ufold/data_generator.py", line 46, in load_data
self.pairs = np.array([instance[-1] for instance in self.data])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (38,) + inhomogeneous part.
I've found numpy github issues that suggest this is due to the version of numpy specified in the conda yaml file, but looking for more details.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels