Page 1 of 1

unexpected keyword argument in YamboIn

Posted: Sun Jan 12, 2020 9:30 am
by Longjun Xiang
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'
#####################################

Re: unexpected keyword argument in YamboIn

Posted: Sun Jan 12, 2020 4:21 pm
by amolina
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.

Re: unexpected keyword argument in YamboIn

Posted: Mon Jan 13, 2020 1:51 am
by Longjun Xiang
OK, I am expecting the new version. Thanks.

Re: unexpected keyword argument in YamboIn

Posted: Mon Feb 03, 2020 11:24 pm
by amolina
Dear Longjun,

you can download the new version of yambopy here:

https://github.com/yambo-code/yambopy.git

Cheers,
Alejandro.