Hi!
I am trying to calculate Mulliken charge of each atom in bulk configuration. For that, I first made a calculation with "atk_setup.py " attached. It generates a file "mulliken.nc". Next, I tried to print the Mulliken charge of each atom by running the file "mulliken.py".
However, it gives an error message:
---------------------------------------------------
Traceback (most recent call last):
File "mulliken.py", line 6, in <module>
mulliken_up = mulliken_pop.atoms(0)
AttributeError: 'list' object has no attribute 'atoms'
Traceback (most recent call last):
File "mulliken.py", line 6, in <module>
mulliken_up = mulliken_pop.atoms(0)
AttributeError: 'list' object has no attribute 'atoms'
----------------------------------------------------------------
Can you let me know what the problem is? Why does it say that there exist no attribute 'atoms'? What's wrong with this?
I am pretty new for ATK2011.02.