I’m getting the error below when utilizing the pmg_analyze function.
Neither the string ‘energy_per_atom’ nor ‘delta_vol’ used in the pmg_analyze.py script appear anywhere in the output files being analyzed so I’m not sure why those tags are being used.
All derivatives of the Vasprun.converged methods return true.
e.data[“delta_volume”] is None seems to be causing the error.
/home/darnoc/anaconda3/envs/pymatgen/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
** return f(args, kwds)
/home/darnoc/anaconda3/envs/pymatgen/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
** return f(args, kwds)
Traceback (most recent call last):
** File “/home/darnoc/anaconda3/envs/pymatgen/bin/pmg”, line 11, in
** sys.exit(main())**
** File “/home/darnoc/anaconda3/envs/pymatgen/lib/python3.6/site-packages/pymatgen/cli/pmg.py”, line 294, in main**
** args.func(args)**
** File “/home/darnoc/anaconda3/envs/pymatgen/lib/python3.6/site-packages/pymatgen/cli/pmg_analyze.py”, line 133, in analyze**
** args.detailed, args.sort, args.format)**
** File “/home/darnoc/anaconda3/envs/pymatgen/lib/python3.6/site-packages/pymatgen/cli/pmg_analyze.py”, line 73, in get_energies**
** delta_vol = “{:.2f}”.format(e.data[“delta_volume”] * 100)**
*TypeError: unsupported operand type(s) for : ‘NoneType’ and ‘int’