Question of TB2J_merge.py

23 views
Skip to first unread message

sky

unread,
Apr 7, 2024, 5:44:34 AMApr 7
to TB2J
Dear He Xu,
  I am sorry to bother you.Here is my question:
  I encountered the following error while using TB2J_mergy.py:
TB2J/io_merge.py:216: RuntimeWarning: invalid value encountered in divide
  w = Jani_removed / Jani
When I looked at the ucf file of VAMPIRE, some of the atomic exchange interactions became nan.They look like :
1 0 1 -1 0 0 nan nan nan nan nan nan nan nan nan
2 0 2 -1 0 0 nan nan nan nan nan nan nan nan nan
3 0 5 -1 0 0 nan nan nan nan nan nan nan nan nan
May I ask what the reason is? How should I solve it?
  

Xu He

unread,
Apr 10, 2024, 8:00:19 AMApr 10
to TB2J

Hi, 
Could you share the files you are trying to merge?
Best regards, 
HeXu
Reply all
Reply to author
Forward
0 new messages