l716.thermochemistry.top

Implementation level
Type Status
CML extraction template image0
HTML5 representation image1
Template attributes
Attribute Value
source Gaussian log
id l716.thermochemistry.top
repeat *
pattern \s*This molecule is.*
endPattern .*
endPattern2 ~
xml:base l716/thermochemi stry/l716.thermochemistry.top.xml

Input.

This molecule is a spherical top.

Output text.

<comment class="example.output" id="l716.thermochemistry.top">
    <module cmlx:templateRef="l716.thermochemistry.top">
      <scalar dataType="xsd:string" dictRef="g:top">spherical</scalar>
    </module>
  </comment>

Template definition.

<record id="type">\s*This molecule is an?\s*{A,g:top}\s*top\.\s*</record>
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />