First of all, great job with the yambopy software. Its easy to install and to use !
This is just a small bugreport.
I was trying to use yambopy to plot the head of the static dielectric function with q.
The python script yambopy does not seem to work with python 2.7 for me.
However, I was able to make it work by adding ".variables" to all calls to netcdf database in the module "yambopy/dbs/em1sdb.py"
This is actually the way I learned how to call netcdf database. Does it work without it in python 3 or something?
For example replacing:
Code: Select all
self.alat = database['LATTICE_PARAMETER'][:]
Code: Select all
self.alat = database.variables['LATTICE_PARAMETER'][:]
Hope this helps,
Best,
Samuel