pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

BUG FIX: BSDOSPlotter.get_plot

Open DeeliN221 opened this issue 2 years ago • 0 comments

Line 2288

if dos:

change to

if isinstance(dos, CompleteDos): # Dos obj has no structure

The DOS object has no structure property, which causes error if parsing DOS data without projection. This modification allows user to plot BS and TDOS at the same time, while keeping the BS+PDOS plotting not affected.

Cheers.

DeeliN221 avatar Mar 27 '23 03:03 DeeliN221