band-unfolding / bandup

BandUP: Band Unfolding code for Plane-wave based calculations
http://www.ifm.liu.se/theomod/compphys/band-unfolding
GNU General Public License v3.0
99 stars 49 forks source link

Postprocessing issue in BandUP V2.9.0 #20

Closed arrackad closed 3 years ago

arrackad commented 3 years ago

In the post unfolding utility, line 658 of the code 'plot_unfolded_EBS_BandUP.py' is: 'if symb_dict.has_key(input_list[i].upper()):' However, this 'has_key()' was removed in python3 and it has to be replaced by ' contains ()'. It solved my problem. This is just a minor issue, I hope this will be helpful.

stepan-tsirkin commented 3 years ago

Hi @arrackad This, and many other compatibility issues are solved in the current master branch of the repository. please, install from it and use, and report problems that may arise with the new version.