QuantumATK > Scripts, Tutorials and Applications
Hexagonal plot of transmission coefficients
kartiksamanta:
Dear Anders,
I am having the follwing error while writting the data file,
"File "/util/opt/atk/2022.12/bin/../atkpython/bin/atkpython", line 8, in <module>
sys.exit(__run_atkpython())
File "zipdir/ATKExecutables/atkwrappers/__init__.py", line 876, in __run_atkpython
File "transmission_hexplot-kartik-modified.py", line 105
for j in range(len(kvalues)):
SyntaxError: invalid character in identifier"
Could you please look into and send me a modified script?
With best,
Kartik
Anders Blom:
Looks like the copy/paste from the webpage uses the null character instead of normal spaces. So just delete all spaces before "for" and "print" and change it to normal spaces. Or, you can use the little "copy" icon in the code box, that seems to work properly.
Navigation
[0] Message Index
[*] Previous page
Go to full version