Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switch from the old SDSS version of mdnorm to the new ukf-mdnorm, wit…
…h the ability to discard blank lines. Note that this option is not enabled by default.
iay committed Jun 11, 2013
1 parent 5c257af commit 833ecc6
Showing 4 changed files with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion build.xml
@@ -457,18 +457,36 @@
-->
<macrodef name="MDNORM">
<attribute name="i"/><!-- input file -->
<element name="args" optional="yes"/>
<sequential>
<java fork="true" maxmemory="${java.max.memory}" failonerror="true" classname="uk.ac.sdss.mdnorm.Normalise">
<java fork="true" maxmemory="${java.max.memory}" failonerror="true" classname="uk.org.ukfederation.mdnorm.Normalise">
<classpath>
<fileset dir="${tools.mdnorm}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
<args/>
<arg value="@{i}"/>
</java>
</sequential>
</macrodef>

<!--
MDNORM.noblank
Call MDNORM but discard blank lines from the output.
-->
<macrodef name="MDNORM.noblank">
<attribute name="i"/><!-- input file -->
<sequential>
<MDNORM i="@{i}">
<args>
<arg value="--discardBlankLines"/>
</args>
</MDNORM>
</sequential>
</macrodef>

<!--
*********************************************
*** ***
Binary file added tools/mdnorm/lib/jcommander-1.30.jar
Binary file not shown.
Binary file removed tools/mdnorm/lib/sdss-mdnorm-1.0.jar
Binary file not shown.
Binary file added tools/mdnorm/lib/ukf-mdnorm-1.1.jar
Binary file not shown.

0 comments on commit 833ecc6

Please sign in to comment.