I have had some issues generating pwscf input file with the cif2cell program. The program returned error as follow;

Traceback (most recent call last):

File "/home/usr/.local/bin/cif2cell", line 1574, in

docstring = StandardDocstring()

File "/home/usr/.local/bin/cif2cell", line 1021, in StandardDocstring

tmpstring2 += ". Reference number : "+ref.databasecode

TypeError: cannot concatenate 'str' and 'NoneType' objects

The cif file used is downloaded from materials project database. I understand that the code is finding it difficult to recognize the database used but I do not know how to modify the code to recognize materials project database.

Any help will be highly appreciated.

Thanks in anticipation.

Similar questions and discussions