Logo
latest

Links

  • Go back to ioChem-BD central

User guide

  • Create module walktrough
  • Uploading content into Create
  • Publish a dataset into Browse
  • Generating reports
  • Video tutorials

Installation guide

  • System requirements
  • Steps prior installation
  • Installation procedure
  • Creating users and groups
  • Publishing endpoints definition
  • Post-installation steps
  • Advanced system configuration

FAQ

  • General usage
  • Administration
  • Errors

Data conversion

  • How to use this help?
  • From chemical codes to CML
    • ADF
    • Amber
    • Gaussian
    • GROMACS
    • GronOR
    • LAMMPS
    • MOLCAS
    • MOPAC
    • Orca
    • QuantumEspresso
      • header
      • parameters
      • lattice
      • species
      • axes
      • pseudopotential
      • point.group
      • environ
      • energies
      • ldau
      • kpoints
      • forces
      • magnetic
      • eigenvalues
      • projwfc
      • frequencies
      • qespresso.input
      • qespresso.absorptionspec
    • Turbomole
    • VASP
  • From CML to HTML5 report
  • Conversion test dataset
ioChem-BD
  • Docs »
  • From chemical codes to CML »
  • QuantumEspresso »
  • header
  • Edit on GitHub

header¶

Implementation level¶
Type Status
CML extraction template image1
HTML5 representation image2
Template attributes¶
Attribute Value
source QuantumEspresso log
id header
name Program version
pattern ^\s*Program\s*.*starts\son.*
endPattern .*
endOffset 0
xml:base initialization/header.xml
Input
Program PWSCF v.6.1 (svn rev. 13369) starts on 28Sep2017 at 18:37:43
Output text
<comment class="example.output" id="header">
        <module cmlx:templateRef="header">
             <scalar dataType="xsd:string" dictRef="cc:program">QuantumEspresso</scalar>
             <scalar dataType="xsd:string" dictRef="cc:module">PWSCF</scalar>
             <scalar dataType="xsd:string" dictRef="cc:programVersion">6.1</scalar>
             <scalar dataType="xsd:string" dictRef="cc:programSubversion">13369</scalar>
             <scalar dataType="xsd:date" dictRef="cc:rundate">2017-09-28T18:37:43.000+02:00</scalar>
        </module>
    </comment>
Template definition
<templateList>  <template id="header1" pattern="\s*Program.*\(svn.*\)\s*starts\s*on.*" endPattern=".*" endPattern2="~">    <record>\s*Program{A,cc:module}\s*v\.{A,cc:programVersion}\s\(svn\srev\.\s{A,cc:programSubversion}\)\sstarts\son{X,x:date}</record>
        </template>  <template id="header2" pattern="\s*Program.*\s*starts\s*on.*">    <record>\s*Program{A,cc:module}\s*v\.{A,cc:programVersion}\s*starts\son{X,x:date}</record>
        </template>
    </templateList>
<transform process="pullup" xpath=".//cml:scalar" repeat="3" />
<transform process="addChild" xpath="." elementName="cml:scalar" dictRef="cc:program" position="0" />
<transform process="setValue" xpath="./cml:scalar[@dictRef='cc:program']" value="QuantumEspresso" />
<transform process="setValue" xpath=".//cml:scalar[@dictRef='x:date']" value="$string(replace(replace(..//cml:scalar[@dictRef='x:date']/text(), 'at  ', 'at 0'), ': ', ':0'))" />
<transform process="createDate" xpath=".//cml:scalar[@dictRef='x:date']" format="ddMMMyyyy 'at' HH:mm:ss" />
<transform process="addAttribute" xpath=".//cml:scalar[@dictRef='cc:programVersion']" name="dataType" value="xsd:string" />
<transform process="addAttribute" xpath=".//cml:scalar[@dictRef='x:date']" name="dictRef" value="cc:rundate" />
<transform process="addAttribute" xpath=".//cml:scalar[@dictRef='cc:program']" name="dataType" value="xsd:string" />
<transform process="delete" xpath=".//cml:module" />
<transform process="delete" xpath=".//cml:list" />
Next Previous

© Copyright 2022, ioChem-BD software Revision e3405a5c.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.