QuantumATK => General Questions and Answers => Topic started by: rahulprajesh on March 10, 2011, 04:31
Title: ivcurve error
Post by: rahulprajesh on March 10, 2011, 04:31
hello Sir, i'm getting this errror . what is the problem. ? Traceback (most recent call last): File "xyz_iv.py", line 59, in ? current_number_of_points = 100 File "ivcurve.py", line 80, in runIVcurve if processIsMaster(): f.addToSample(current,sample_name,'Current at %s V bias' % voltage.inUnitsOf(Volt)) TypeError: addToSample() takes exactly 3 arguments (4 given)
Title: Re: ivcurve error
Post by: Anders Blom on March 10, 2011, 11:17
Which version of ATK are you using? I'm not sure, it's so long ago, but I think the "label" keyword was not available in earlier versions like 2008.02.
If so, you will have to settle for
Code: python
if processIsMaster(): f.addToSample(current,sample_name)