Hi Alexander,<div><br></div><div>first of all install </div><div>https://github.com/cp2k/cp2k-output-tools</div><div><br></div><div>it will transfer .bs file to .csv file ready for figure.</div><div>If you get .csv, I can try my second script to make a figure.</div><div>But you need to edit this script by hand, I hope to make better script later.</div><div>Ask me for details.<br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">ki...@gmail.com schrieb am Dienstag, 16. März 2021 um 17:42:51 UTC+1:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello, Dmitry<div><br></div><div>Could you please provide the working script? or give an idea how you found a solution for the problem.</div><div>thank you in advance.</div><div><br></div><div>Best regards, Alexander <br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, 10 December 2020 at 13:22:36 UTC+3 Dmitry Ryndyk wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So. Finally, it really works.<div>But I was not able to find it quickly without your help. And the script in exercises is outdated.</div><div>I think it is a good idea to make tools like it more visible at <a href="http://cp2k.org" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=http://cp2k.org&source=gmail&ust=1616000367219000&usg=AFQjCNHDAcWsRnvKaB723y3RAQAHj69xNg">cp2k.org</a>.</div><div><br></div><div>Dima <br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Dmitry Ryndyk schrieb am Donnerstag, 10. Dezember 2020 um 11:02:54 UTC+1:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry, I found changes now! Should work!<br><br><div class="gmail_quote"><div dir="auto" class="gmail_attr"><a rel="nofollow">tiz...@chem.uzh.ch</a> schrieb am Donnerstag, 10. Dezember 2020 um 10:41:16 UTC+1:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Dima,
<br>
<br>I've updated the script there to work with CP2K as on May 5th and there 
<br>were no changes to the relevant output since then as far as I see?
<br>
<br>Can you please test whether it works and if not make a bugreport on 
<br><a href="https://github.com/cp2k/cp2k-output-tools/issues" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k-output-tools/issues&source=gmail&ust=1616000367219000&usg=AFQjCNG8ogRS54_0pR6sucvhJmnpuvnEyA">https://github.com/cp2k/cp2k-output-tools/issues</a> ?
<br>
<br>Best,
<br>Tiziano
<br>
<br>On 12/10/20 10:21 AM, 'Dmitry Ryndyk' via cp2k wrote:
<br>> It is an old version in
<br>> <a href="https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools&source=gmail&ust=1616000367219000&usg=AFQjCNEmmnQqAfwRh0veWKXHZpkofxEfaw">https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools</a> 
<br>> <<a href="https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py&source=gmail&ust=1616000367219000&usg=AFQjCNEMS7ceXBsNunuh3B53q6NzYkVMpw">https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py</a>>
<br>> and does not work with new output .bs files.
<br>> That is what I asked.
<br>> So, what we plan to do?
<br>> 
<br>> Dima
<br>> Dmitry Ryndyk schrieb am Donnerstag, 10. Dezember 2020 um 10:06:58 UTC+1:
<br>> 
<br>>     Dear Matthias and Tiziano,
<br>> 
<br>>     thank you. I will have a look.
<br>> 
<br>>     Dima
<br>> 
<br>>     <a rel="nofollow">tiz...@chem.uzh.ch</a> schrieb am Donnerstag, 10. Dezember 2020 um
<br>>     09:12:50 UTC+1:
<br>> 
<br>>         Dear Dmitry,
<br>> 
<br>>         you can find an updated version of the cp2k_bs2csv.py in the
<br>>         cp2k-output-tools project here:
<br>> 
<br>> 
<br>>         <a href="https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py&source=gmail&ust=1616000367219000&usg=AFQjCNEMS7ceXBsNunuh3B53q6NzYkVMpw">https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py</a>
<br>>         <<a href="https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py&source=gmail&ust=1616000367219000&usg=AFQjCNEMS7ceXBsNunuh3B53q6NzYkVMpw">https://github.com/cp2k/cp2k-output-tools/blob/develop/cp2k_output_tools/scripts/bandstructure.py</a>>
<br>> 
<br>> 
<br>>         Installation via pip is best:
<br>> 
<br>>         pip install cp2k-output-tools
<br>> 
<br>>         It should then be available as cp2k_bs2csv
<br>>         Depending on your system you may have to use `pip3` instead of
<br>>         `pip` to
<br>>         use Python 3, or call `pip` with `--user`: `pip install --user
<br>>         cp2k-output-tools`, and/or add the directory `$HOME/.local/bin`
<br>>         to your
<br>>         `$PATH`.
<br>> 
<br>>         Best regards,
<br>>         Tiziano
<br>> 
<br>>         On 12/9/20 11:15 PM, 'Dmitry Ryndyk' via cp2k wrote:
<br>>          > Dear all,
<br>>          >
<br>>          > as far as I can see, the format of the output file is changed
<br>>         in the
<br>>          > developing version (or maybe earlier).
<br>>          > The cp2k_bs2csv.py script does not work anymore.
<br>>          > Did somebody modify it?
<br>>          >
<br>>          > Best wishes,
<br>>          > Dmitry
<br>>          >
<br>>          > <a rel="nofollow">2...@gmail.com</a> schrieb am Montag, 22. Juni 2020 um 20:52:41
<br>>         UTC+2:
<br>>          >
<br>>          > Answering my own question:
<br>>          >
<br>>          > Each 'material.bs-setN.csv' file is the set of energies for all
<br>>          > points between the corresponding set of k points, so in order to
<br>>          > plot the full band structure between all k-point sets, each file
<br>>          > needs to be loaded.
<br>>          >
<br>>          > One could make the argument for returning a single CSV file
<br>>         rather
<br>>          > than multiple, but in the case of disjointed paths, distinct
<br>>         files
<br>>          > is preferred. Hopefully this answers any questions future users
<br>>          > might have.
<br>>          >
<br>>          > -Brian
<br>>          >
<br>>          > --
<br>>          > You received this message because you are subscribed to the
<br>>         Google
<br>>          > Groups "cp2k" group.
<br>>          > To unsubscribe from this group and stop receiving emails from
<br>>         it, send
<br>>          > an email to <a rel="nofollow">cp...@googlegroups.com</a>
<br>>          > <mailto:<a rel="nofollow">cp...@googlegroups.com</a>>.
<br>>          > To view this discussion on the web visit
<br>>          >
<br>>         <a href="https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%2540googlegroups.com&source=gmail&ust=1616000367220000&usg=AFQjCNGXzAcok_5qPsJ_zhP3ZMwFs7p8Ow">https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com</a>
<br>>         <<a href="https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%2540googlegroups.com&source=gmail&ust=1616000367220000&usg=AFQjCNGXzAcok_5qPsJ_zhP3ZMwFs7p8Ow">https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com</a>>
<br>> 
<br>>          >
<br>>         <<a href="https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1616000367220000&usg=AFQjCNH10BXbHNM3wYXt0FqbasCIyd_zMA">https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com?utm_medium=email&utm_source=footer</a>
<br>>         <<a href="https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1616000367220000&usg=AFQjCNH10BXbHNM3wYXt0FqbasCIyd_zMA">https://groups.google.com/d/msgid/cp2k/817b82bf-95a0-4dd3-b6fc-0d1740eea246n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>>.
<br>> 
<br>> 
<br>>         -- 
<br>>         Tiziano Müller
<br>>         University of Zurich
<br>>         Department of Chemistry
<br>>         Winterthurerstrasse 190
<br>>         CH-8057 Zürich
<br>> 
<br>>         Tel: +41 44 63 54234
<br>>         <a href="http://www.chem.uzh.ch" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=http://www.chem.uzh.ch&source=gmail&ust=1616000367220000&usg=AFQjCNFKVJ0C7QtNx3l0cItW9GMY9OOyGA">www.chem.uzh.ch</a> <<a href="http://www.chem.uzh.ch" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=http://www.chem.uzh.ch&source=gmail&ust=1616000367220000&usg=AFQjCNFKVJ0C7QtNx3l0cItW9GMY9OOyGA">http://www.chem.uzh.ch</a>>
<br>>         <a rel="nofollow">tiz...@chem.uzh.ch</a>
<br>> 
<br>> -- 
<br>> You received this message because you are subscribed to the Google 
<br>> Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send 
<br>> an email to <a rel="nofollow">cp...@googlegroups.com</a> 
<br>> <mailto:<a rel="nofollow">cp...@googlegroups.com</a>>.
<br>> To view this discussion on the web visit 
<br>> <a href="https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%40googlegroups.com" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%2540googlegroups.com&source=gmail&ust=1616000367220000&usg=AFQjCNG2et-yg9Wp8jCT8tDkUW01sxI75A">https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%40googlegroups.com</a> 
<br>> <<a href="https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1616000367220000&usg=AFQjCNGoqaGUbRR8l_JG9ndavwGSnvEwTQ">https://groups.google.com/d/msgid/cp2k/7a7f08cd-e066-451b-89cc-2fe4621daca6n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br>
<br>-- 
<br>Tiziano Müller
<br>University of Zurich
<br>Department of Chemistry
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich
<br>
<br>Tel: +41 44 63 54234
<br><a href="http://www.chem.uzh.ch" rel="nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=de&q=http://www.chem.uzh.ch&source=gmail&ust=1616000367220000&usg=AFQjCNFKVJ0C7QtNx3l0cItW9GMY9OOyGA">www.chem.uzh.ch</a>
<br><a rel="nofollow">tiz...@chem.uzh.ch</a>
<br></blockquote></div></blockquote></div></blockquote></div></blockquote></div>