<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
You can also try a newer version with python 3 compatibility from
<div><a href="https://github.com/spichardo/BerryPI/tree/master/utils">https://github.com/spichardo/BerryPI/tree/master/utils</a><br>
<br>
It has some changes in the line with error.<br>
<br>
Good luck </div>
<div>Oleg <br>
<div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">--<br>
Oleg Rubel (PhD, PEng)<br>
Department of Materials Science and Engineering<br>
McMaster University<br>
JHE 359, <a href="x-apple-data-detectors://0/1" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0/1" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">1280 Main Street West, Hamilton,
 Ontario L8S 4L8, Canada</a><br>
Email: <a href="mailto:rubelo@mcmaster.ca" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0/2" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">rubelo@mcmaster.ca</a><br>
Tel: <a href="tel:+1-905-525-9140;24094" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0/3" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">+1-905-525-9140, ext. 24094</a><br>
Web: <a href="http://olegrubel.mcmaster.ca/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0/4" style="-webkit-text-decoration-color: rgba(0, 0, 0, 0.258824);">http://olegrubel.mcmaster.ca</a></span></div>
<div dir="ltr"><br>
<blockquote type="cite">On Dec 28, 2020, at 11:01, Gavin Abo <gsabo@crimson.ua.edu> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<p>If your using WIEN2k_19.2, then only follow [3] (do not follow [1]).</p>
<p>Maybe you are not using your WIEN2k_19.2 installation directory but are still using your older WIEN2k version installation directory.</p>
<p>For example, in an older WIEN2k version, you might see write_inwf_lapw is version
<font color="#0000ff">1.0.0 <font color="#000000">and the same text as your <font color="#ff0000">
error</font></font></font> on line <font color="#ff8000">58</font>:<br>
</p>
<p>username@computername:~$ cd ~/WIEN2k17.1<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> sed -n 29p write_inwf_lapw<br>
__version__ = "$version: v<font color="#0000ff">1.0.0</font>-273-gaf9ce6b$"<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> sed -n
<font color="#ff8000">58</font>p write_inwf_lapw<br>
            <font color="#ff0000">return np.array([float (s) for s in l[12:22], l[25:35], l[38:48]])</font></p>
<p>In WIEN2k_19.2, you should see write_inwf_lapw is version <font color="#ff00ff">
2.0.0 </font>and line <font color="#ff8000">58</font> has different text:<br>
</p>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k17.1$">username@computername:~/WIEN2k17.1$</a> cd ~/WIEN2k19.2<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> sed -n 28p write_inwf_lapw<br>
__version__ = "$version: <font color="#ff00ff">v2.0.0</font>-7-g4c51be8$"<br>
<a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> sed -n
<font color="#ff8000">58</font>p write_inwf_lapw<br>
            def readloro():<br>
<p>You may want to check that WIENROOT in your .bashrc file is set to your WIEN2k_19.2 installation directory:<br>
</p>
<p><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> grep WIENROOT= ~/.bashrc<br>
export WIENROOT=/home/username/WIEN2k19.2<br>
</p>
<p>If it is set as intended, you might also check that it has been set in your environment:<br>
</p>
<p><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/WIEN2k19.2$">username@computername:~/WIEN2k19.2$</a> echo $WIENROOT<br>
/home/username/WIEN2k19.2<br>
</p>
<p>If the environment is not showing the change after you have saved the new WIEN2k installation directory path in .bashrc, you may need to execute "source ~/.bashrc", or restart the terminal or computer.<br>
</p>
<div class="moz-cite-prefix">On 12/28/2020 4:05 AM, Abhijit B K wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAJBOWMbC1s50iG4vU-yA_hjGRfNxOefSs_0wgoRjeQiL7cvPvQ@mail.gmail.com">
<div dir="ltr">Dear Users,
<div><br>
</div>
<div>I am using WIEN2k_19.2.</div>
<div><br>
</div>
<div>I am coming across the following error while running ''write_inwf"</div>
<div><br>
</div>
<div>  File "/...../wien2k/write_inwf", line <font color="#ff8000">58</font><br>
    <font color="#ff0000">return np.array([float (s) for s in l[12:22], l[25:35], l[38:48]])</font><br>
                                                ^<br>
SyntaxError: invalid syntax<br>
</div>
<div><br>
</div>
<div>I would be grateful if someone could help me with this bug.</div>
<div><br>
</div>
<div><br>
</div>
<div>Best wishes,</div>
<div><br>
</div>
<div>Abhijit</div>
<div><br>
</div>
<div>PS: I followed the [1] and [3] in the following recommendation but the error persists.</div>
<div><br>
</div>
<div><a href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20308.html" moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20308.html</a><br>
</div>
</div>
</blockquote>
<span>_______________________________________________</span><br>
<span>Wien mailing list</span><br>
<span>Wien@zeus.theochem.tuwien.ac.at</span><br>
<span>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</span><br>
<span>SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</span><br>
</div>
</blockquote>
</div>
</body>
</html>