Koulb's picture
Add files using upload-large-folder tool
668bc39 verified
==============================================================================
Program HPRO
Author: Xiaoxun Gong (xiaoxun.gong@gmail.com)
==============================================================================
TypeError: only 0-dimensional arrays can be converted to Python scalars
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/apolyukhin/anaconda3/envs/epc_ml/lib/python3.11/site-packages/HPRO/utils.py", line 191, in g
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/apolyukhin/anaconda3/envs/epc_ml/lib/python3.11/site-packages/HPRO/utils.py", line 274, in g
ret = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/apolyukhin/anaconda3/envs/epc_ml/lib/python3.11/site-packages/HPRO/kernel.py", line 99, in __init__
stru1 = Structure.from_bgw(vscdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/apolyukhin/anaconda3/envs/epc_ml/lib/python3.11/site-packages/HPRO/structure.py", line 87, in from_bgw
obj.read_header()
File "/home/apolyukhin/anaconda3/envs/epc_ml/lib/python3.11/site-packages/HPRO/bgwio.py", line 70, in read_header
self.tau[iat, d] = rec[iat*4+d]
~~~~~~~~^^^^^^^^
ValueError: setting an array element with a sequence.