Dear developers:
I try to run the gw_si.py in your yambopy tutorial. But I get the following error messages. Is the yamopy module ready?
#####################################
nscf calculation found!
Traceback (most recent call last):
File "gw_si.py", line 33, in <module>
y = YamboIn('%s -p p -g n -V all'%yambo,folder='gw')
TypeError: __init__() got an unexpected keyword argument 'folder'
#####################################
unexpected keyword argument in YamboIn
Moderators: palful, amolina, mbonacci
-
- Posts: 34
- Joined: Tue May 07, 2019 9:53 am
unexpected keyword argument in YamboIn
Dr. Longjun Xiang
School of Physical Science and Technology, ShanghaiTech University, China
School of Physical Science and Technology, ShanghaiTech University, China
- amolina
- Posts: 135
- Joined: Fri Jul 15, 2011 11:23 am
- Location: Valencia, Spain
- Contact:
Re: unexpected keyword argument in YamboIn
Dear Longjun,
we are going to publish an upgraded version of yambopy soon.
The new version will be hosted in the yambo git repository: https://github.com/yambo-code
In this particular case, your script should work if you replace the old command by this one:
y = YamboIn.from_runlevel('%s -p p -g n'%yambo,folder='gw_calc')
Cheers,
Alejandro.
we are going to publish an upgraded version of yambopy soon.
The new version will be hosted in the yambo git repository: https://github.com/yambo-code
In this particular case, your script should work if you replace the old command by this one:
y = YamboIn.from_runlevel('%s -p p -g n'%yambo,folder='gw_calc')
Cheers,
Alejandro.
Alejandro Molina-Sánchez
Institute of Materials Science (ICMUV)
University of Valencia, Spain
Institute of Materials Science (ICMUV)
University of Valencia, Spain
-
- Posts: 34
- Joined: Tue May 07, 2019 9:53 am
Re: unexpected keyword argument in YamboIn
OK, I am expecting the new version. Thanks.
Dr. Longjun Xiang
School of Physical Science and Technology, ShanghaiTech University, China
School of Physical Science and Technology, ShanghaiTech University, China
- amolina
- Posts: 135
- Joined: Fri Jul 15, 2011 11:23 am
- Location: Valencia, Spain
- Contact:
Re: unexpected keyword argument in YamboIn
Dear Longjun,
you can download the new version of yambopy here:
https://github.com/yambo-code/yambopy.git
Cheers,
Alejandro.
you can download the new version of yambopy here:
https://github.com/yambo-code/yambopy.git
Cheers,
Alejandro.
Alejandro Molina-Sánchez
Institute of Materials Science (ICMUV)
University of Valencia, Spain
Institute of Materials Science (ICMUV)
University of Valencia, Spain