yes Anders, it worked but
another error it is showing "global name 'nlread' is not defined".
what to do...
+------------------------------------------------------------------------------+
| NanoLanguageScript execution started |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| |
| Atomistix ToolKit 11.2.2 [Build 3069] |
| |
+------------------------------------------------------------------------------+
Traceback (most recent call last):
File "c:\users\bhushan\appdata\local\temp\8952494259925050.py", line 12, in <module>
voltage,energy = readTotalEnergy('benzene_set'+str(q)+'.nc')
File "C:\Program Files (x86)\QuantumWise\atk-11.2.2\atkpython\lib\site-packages\readTotalEnergy.py", line 21, in readTotalEnergy
total_energy=nlread(filename, object_id = id[1])[0]
NameError: global name 'nlread' is not defined
NanoLanguageScript execution failure
+------------------------------------------------------------------------------+
| NanoLanguageScript execution finished |
+------------------------------------------------------------------------------+