`dielectric_spectrum` plotformat comparison error
Expected behavior
Default plotformat
is pdf
Actual behavior
Command line was: maicos dielectric_spectrum -s md_001.tpr -f md_001.trr -recalc
Loading trajectory... Done!
Performing analysis for the following group(s):
all: 16080 atoms
Error: Invalid choice for potformat: 'pdf' (choose from 'pdf', 'png', 'jpg')
Code to reproduce the behavior
maicos dielectric_spectrum -s md_001.tpr -f md_001.trr -recalc
https://gitlab.com/maicos-devel/maicos/-/blob/develop/maicos/modules/epsilon.py#L894 is the culprit.
Change it from
if self.plotformat not in ["pdf, png, jpg"]:
to
if self.plotformat not in ["pdf", "png", "jpg"]: