entering

Implementation level

Type

Status

CML extraction template

image1

HTML5 representation

image2

Template attributes

Attribute

Value

source

Gaussian log

id

entering

pattern

\s*Entering Gaussian System.*Link\s*0=.*

endPattern

.*Initial command\:.*$.*

endOffset

2

xml:base

l0.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

1<comment class="example.output" id="entering">
2    <module cmlx:templateRef="entering">
3      <scalar dataType="xsd:string" dictRef="g:link0">/usr/local/gaussian/g03/g03</scalar>
4      <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>
5    </module>
6  </comment>

Template definition

1<record id="enter">\s*Entering Gaussian System,\s*Link 0={X,g:link0}\s*</record>
2<record />
3<record id="command">{1_5A,g:command}</record>
4<transform process="pullup" xpath=".//cml:scalar | .//cml:array" />
5<transform process="delete" xpath=".//cml:list[count(*)=0]" />
6<transform process="delete" xpath=".//cml:list[count(*)=0]" />