Author Topic: Hexagonal plot of transmission coefficients  (Read 19913 times)

0 Members and 1 Guest are viewing this topic.

Offline kartiksamanta

  • New QuantumATK user
  • *
  • Posts: 3
  • Country: us
  • Reputation: 0
    • View Profile
Re: Hexagonal plot of transmission coefficients
« Reply #15 on: March 22, 2024, 04:53 »
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

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5573
  • Country: dk
  • Reputation: 95
    • View Profile
    • QuantumATK at Synopsys
Re: Hexagonal plot of transmission coefficients
« Reply #16 on: March 26, 2024, 18:31 »
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.
« Last Edit: March 26, 2024, 18:34 by Anders Blom »