6
« on: September 10, 2017, 07:28 »
Good Morning to all,
I am using ATK-VNL version 2016.0 for Single_electron transistor based on different molecule as per Benzene Single-Electron Transistor Tutorial Version 2015.2.
Till Gate voltage scan,I havn't got any error.But,For read total energy and total Vs gate voltage earlier i got intended block error for python script but i sorted it out by proper
Tab positioning.
Now,For total energy Vs gate voltage script iam getting following error:
C:\Users\HPi7007\Desktop\Pentacene_SET\readTotalEnergy.py:16: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
if file_data == None:
Traceback (most recent call last):
File "TEvsVg.py", line 13, in <module>
voltage,energy = readTotalEnergy('pentacene_set'+str(q)+'.nc')
File "C:\Users\HPi7007\Desktop\Pentacene_SET\readTotalEnergy.py", line 39, in readTotalEnergy
return gate_voltage_list[index_list], total_energy_list[index_list]
IndexError: index 2 is out of bounds for axis 1 with size 2
I am attaching .py file for both script.
Thanking you!