QuantumATK > General Questions and Answers

ivcurve error

(1/1)

rahulprajesh:
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)

Anders Blom:
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)
--- End code ---

Navigation

[0] Message Index

Go to full version