[Wien] write_inwf syntaxerror

Abhijit B K bk.abhijit1 at gmail.com
Tue Dec 29 14:05:58 CET 2020


Dear Gavin,
In the previous message I had pasted error from older version ( not 19.2).
apologies.

I am pasting the error message from the version 19.2.


 File "/nfs/student/abhijit/software/WIEN2K_19.2/write_inwf", line 57
    return np.array([float (s) for s in l[12:22], l[25:35], l[38:48]])
                                                ^
SyntaxError: invalid syntax

I checked the version of 'write_inwf' it is indeed 2.0.0.

Then I tried oleg's recommendation  and used his script

That works perfectly.

Thank you very much for the help.

Best wishes,

Abhijit

On Mon, Dec 28, 2020 at 12:05 PM Abhijit B K <bk.abhijit1 at gmail.com> wrote:

> Dear Users,
>
> I am using WIEN2k_19.2.
>
> I am coming across the following error while running ''write_inwf"
>
>   File "/...../wien2k/write_inwf", line 58
>     return np.array([float (s) for s in l[12:22], l[25:35], l[38:48]])
>                                                 ^
> SyntaxError: invalid syntax
>
> I would be grateful if someone could help me with this bug.
>
>
> Best wishes,
>
> Abhijit
>
> PS: I followed the [1] and [3] in the following recommendation but
> the error persists.
>
> https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20308.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20201229/567c6727/attachment.htm>


More information about the Wien mailing list