Skip to content

l716.polarizability ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl716.polarizability
namePolarizability
repeat*
pattern\s*Polarizability=.*
endPattern\s{16}.*
endOffset1
xml:basel716/l716.polarizability.xml

Input ​

 Polarizability= 1.80172759D+02 9.64366159D-02 8.96067492D+01
                 1.42853847D+01 2.32604318D-02 8.23087172D+01

Output text ​

xml
<comment class="example.output" id="l716.polarizability">
    <module cmlx:templateRef="l716.polarizability">
      <array dataType="xsd:double" size="6" dictRef="cc:polarizability" cmlx:templateRef="polariz">180.172759 0.0964366159 89.6067492 14.2853847 0.0232604318 82.3087172</array>
    </module>
  </comment>

Template definition ​

xml
<record id="polariz">\sPolarizability=&#123;3E,cc:polarizability&#125;</record>
<record id="polariz">\s*&#123;3E,x:d&#125;</record>
<transform process="joinArrays" xpath=".//cml:array" />
<transform process="pullupSingleton" dictRef="cc:polarizability" xpath="./cml:list" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />