You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 18.04.4 LTS
Anaconda python conda version : 4.8.3
python 3.6 # also tried with 3.7
numpy version 1.12.1 # also tried with newer numpy versions
pandas version 0.23.4
mdentropy version 0.4.0dev0
sklearn version 0.19.2
scipy version 1.2.1
when calculating dihedral mutual information and using the shuffle function I get the error:
multiprocessing.pool.RemoteTraceback:
"""Traceback (most recent call last): File "/home/name/anaconda3/envs/pd/lib/python3.6/multiprocessing/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "/home/name/anaconda3/envs/pd/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar return list(map(*args)) File "/home/name/anaconda3/envs/pd/lib/python3.6/site-packages/mdentropy-0.4.0.dev0-py3.6.egg/mdentropy/metrics/mutinf.py", line 24, in _partial_mutinf self.shuffled_data[j].values,AttributeError: 'numpy.ndarray' object has no attribute 'values'"""Theaboveexceptionwasthedirectcauseofthefollowingexception:
Traceback (mostrecentcalllast):
File"test_mdentropy.py", line30, in<module>M1=mi.partial_transform(traj, shuffle=1, verbose=True)
File"/home/name/anaconda3/envs/pd/lib/python3.6/site-packages/mdentropy-0.4.0.dev0-py3.6.egg/mdentropy/metrics/base.py", line57, inpartial_transformcorrection+=self._floored_exec()
File"/home/name/anaconda3/envs/pd/lib/python3.6/site-packages/mdentropy-0.4.0.dev0-py3.6.egg/mdentropy/metrics/base.py", line32, in_floored_execreturnfloor_threshold(self._exec())
File"/home/name/anaconda3/envs/pd/lib/python3.6/site-packages/mdentropy-0.4.0.dev0-py3.6.egg/mdentropy/metrics/mutinf.py", line33, in_execcombinations(self.labels, 2))
File"/home/name/anaconda3/envs/pd/lib/python3.6/multiprocessing/pool.py", line266, inmapreturnself._map_async(func, iterable, mapstar, chunksize).get()
File"/home/name/anaconda3/envs/pd/lib/python3.6/multiprocessing/pool.py", line644, ingetraiseself._valueAttributeError: 'numpy.ndarray'objecthasnoattribute'values'
Downgrading to pandas 0.22 or lower fixes the problem. Attached is my test script test_mdentropy.py.txt
The text was updated successfully, but these errors were encountered:
Ubuntu 18.04.4 LTS
Anaconda python conda version : 4.8.3
python 3.6 # also tried with 3.7
numpy version 1.12.1 # also tried with newer numpy versions
pandas version 0.23.4
mdentropy version 0.4.0dev0
sklearn version 0.19.2
scipy version 1.2.1
when calculating dihedral mutual information and using the shuffle function I get the error:
Downgrading to pandas 0.22 or lower fixes the problem. Attached is my test script
test_mdentropy.py.txt
The text was updated successfully, but these errors were encountered: