Skip to content

entering ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
identering
pattern\s*Entering Gaussian System.*Link\s*0=.*
endPattern.*Initial command\:.*$.*
endOffset2
xml:basel0.entering.xml

Input ​

 Entering Gaussian System, Link 0=/usr/local/gaussian/g03/g03
 Initial command:
 /usr/local/gaussian/g03/l1.exe /tmp/webmo/1/Gau-28330.inp -scrdir=/tmp/webmo/1/

Output text ​

xml
<comment class="example.output" id="entering">
    <module cmlx:templateRef="entering">
      <scalar dataType="xsd:string" dictRef="g:link0">/usr/local/gaussian/g03/g03</scalar>
      <array dataType="xsd:string" size="3" dictRef="g:command">/usr/local/gaussian/g03/l1.exe /tmp/webmo/1/Gau-28330.inp -scrdir=/tmp/webmo/1/</array>
    </module>
  </comment>

Template definition ​

xml
<record id="enter">\s*Entering Gaussian System,\s*Link 0=&#123;X,g:link0&#125;\s*</record>
<record />
<record id="command">&#123;1_5A,g:command&#125;</record>
<transform process="pullup" xpath=".//cml:scalar | .//cml:array" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />