Skip to content

l716.thermochemistry.top ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl716.thermochemistry.top
repeat*
pattern\s*This molecule is.*
endPattern.*
endPattern2~
xml:basel716/thermochemistry/l716.thermochemistry.top.xml

Input ​

 This molecule is a spherical top.

Output text ​

xml
<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 ​

xml
<record id="type">\s*This molecule is an?\s*&#123;A,g:top&#125;\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]" />