Commits

Anonymous committed 03545ce

Change necessiated by renaming copy to copyRelative.

  • Participants
  • Parent commits d3b8dea

Comments (0)

Files changed (2)

jc-compchem-gaussian/src/main/resources/org/xmlcml/cml/converters/compchem/gaussian/log/templates/transform.l601.tidy.xml

   <transform process="addDictRef" xpath=".//cml:module[@cmlx:templateRef='l601.mullik']//cml:array[@dictRef='x:charge']" 
     value="cc:mulliken"/>    
   <transform process="split" xpath=".//cml:array[@dictRef='cc:mulliken']"/>    
-  <transform process="copy" xpath="//cml:module[@dictRef='cc:job'][last()]/cml:module[@dictRef='cc:finalization']//cml:module[@dictRef='cc:mulliken']//cml:scalar[@dictRef='cc:mulliken']"
+  <transform process="copyRelative" xpath="//cml:module[@dictRef='cc:job'][last()]/cml:module[@dictRef='cc:finalization']//cml:module[@dictRef='cc:mulliken']//cml:scalar[@dictRef='cc:mulliken']"
     to="./ancestor::cml:module[@dictRef='cc:finalization']//cml:molecule[@id='mol9999']/cml:atomArray/cml:atom"/>
   <transform process="delete" xpath=".//cml:module[@cmlx:templateRef='l601.mullik' and 
     cml:scalar[@dictRef='g:title' and 

jc-compchem-gaussian/src/main/resources/org/xmlcml/cml/converters/compchem/gaussian/log/templates/transform.l716.tidy.xml

     value="cc:vibrations"/>
   <transform process="split" xpath="//cml:property[@dictRef='cc:vibrations']/cml:module/cml:array[@dictRef='cc:displacement']"
     rows="$number(../cml:array[@dictRef='cc:atomicNumber']/@size)"/>
-  <transform process="copy" xpath="//cml:property[@dictRef='cc:vibrations']//cml:array[@dictRef='cc:displacement']"
+  <transform process="copyRelative" xpath="//cml:property[@dictRef='cc:vibrations']//cml:array[@dictRef='cc:displacement']"
     to="./ancestor::cml:module[@dictRef='cc:finalization']/cml:molecule[@id='mol9999']/cml:atomArray/cml:atom" />
   <transform process="split" xpath=".//cml:array[@dictRef='cc:displacement']" cols="3"/>
   <transform process="delete" xpath=".//cml:property[@dictRef='cc:vibrations']/cml:*"/>
 <!--  tidy forces -->
   <transform process="addDictRef" xpath="//cml:property[cml:module[@cmlx:templateRef='l716.forces']]"
     value="cc:forces"/>
-  <transform process="copy" xpath="//cml:property[@dictRef='cc:forces']//cml:array[@dictRef='cc:force']"
+  <transform process="copyRelative" xpath="//cml:property[@dictRef='cc:forces']//cml:array[@dictRef='cc:force']"
     to="./ancestor::cml:module[@dictRef='cc:finalization']/cml:molecule[@id='mol9999']/cml:atomArray/cml:atom"/>
   <transform process="delete" xpath=".//cml:property[.//@dictRef='cc:forces']/cml:*"/>
   <transform process="addChild" xpath=".//cml:property[@dictRef='cc:forces']" elementName="cml:scalar" dictRef="cc:linkToAtoms"