Skip to content

Commit

Permalink
chore: remove hyphens from raw
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Nov 13, 2024
1 parent 64cf1bf commit 701654b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions assets/espresso/ph_single_irr_qpt.j2.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
&INPUTPH
tr2_ph = 1.0d-18
ldisp = .true.
{% raw -%}
{% raw %}
start_q = {{MAP_DATA.qpoint}}
last_q = {{MAP_DATA.qpoint}}
start_irr = {{MAP_DATA.irr}}
last_irr= {{MAP_DATA.irr}}
{%- endraw %}
{% endraw %}
recover = .true.
fildyn = 'dyn'
prefix = '__prefix__'
Expand Down
4 changes: 2 additions & 2 deletions assets/espresso/pw_scf_bands_hse.j2.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ CELL_PARAMETERS angstrom
{{ input.CELL_PARAMETERS }}
K_POINTS crystal
{{ '{{' }} {{ explicitKPath.length }} {% raw %} + KPOINTS|length }} {% endraw %}
{%- raw %}
{% raw %}
{% for point in KPOINTS -%}
{% for d in point.coordinates %}{{ "%14.9f"|format(d) }} {% endfor -%}{{ point.weight }}
{% endfor %}
{% endraw -%}
{% endraw %}
{% for point in explicitKPath -%}
{% for d in point.coordinates %}{{d}} {% endfor -%}0.0000001
{% endfor %}
4 changes: 2 additions & 2 deletions assets/python/espresso_xml_get_qpt_irr.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import json
from xml.dom import minidom

{# JOB_WORK_DIR will be initialized at runtime => avoid substituion below #}
{%- raw -%}
{% raw %}
CONTROL_PH_FILENAME = "{{JOB_WORK_DIR}}/outdir/_ph0/__prefix__.phsave/control_ph.xml"
PATTERNS_FILENAME = "{{JOB_WORK_DIR}}/outdir/_ph0/__prefix__.phsave/patterns.{}.xml"
{%- endraw -%}
{% endraw %}

# get integer content of an xml tag in a document
def get_int_by_tag_name(doc, tag_name):
Expand Down
4 changes: 2 additions & 2 deletions assets/shell/bash_espresso_collect_dynmat.j2.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- raw -%}
{% raw %}
#!/bin/bash

cp {{ JOB_SCRATCH_DIR }}/outdir/_ph0/__prefix__.phsave/dynmat* {{ JOB_WORK_DIR }}/../outdir/_ph0/__prefix__.phsave
{%- endraw -%}
{% endraw %}
4 changes: 2 additions & 2 deletions assets/shell/bash_espresso_link_outdir_save.j2.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- raw -%}
{% raw %}
#!/bin/bash

mkdir -p {{ JOB_SCRATCH_DIR }}/outdir/_ph0
cd {{ JOB_SCRATCH_DIR }}/outdir
cp -r {{ JOB_WORK_DIR }}/../outdir/__prefix__.* .
{%- endraw -%}
{% endraw %}
4 changes: 2 additions & 2 deletions assets/shell/bash_vasp_prepare_neb_images.j2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# directories to calculate the reaction energy profile.
# ------------------------------------------------------------------ #

{% raw -%}
{% raw %}
cd {{ JOB_WORK_DIR }}
{%- endraw %}
{% endraw %}

# Prepare First Directory
mkdir -p 00
Expand Down
2 changes: 1 addition & 1 deletion src/js/data/templates.js

Large diffs are not rendered by default.

0 comments on commit 701654b

Please sign in to comment.