Skip to content

Commit bbd37ac

Browse files
committed
2.0.1 patch: updated specview version, fixed magnitudes conversion bug
1 parent 10ed2e8 commit bbd37ac

File tree

9 files changed

+12
-31
lines changed

9 files changed

+12
-31
lines changed

iris-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>cfa.vo</groupId>
1111
<artifactId>iris2</artifactId>
12-
<version>2.0</version>
12+
<version>2.0.1</version>
1313
</parent>
1414

1515
<dependencies>

iris-specview/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>cfa.vo</groupId>
1313
<artifactId>iris2</artifactId>
14-
<version>2.0</version>
14+
<version>2.0.1</version>
1515
</parent>
1616

1717
<dependencies>
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>specview</groupId>
3131
<artifactId>specview</artifactId>
32-
<version>20130425b2</version>
32+
<version>20131030b1</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>cds.savot.common</groupId>

iris/distro/Iris

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ elif [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then
7272
echo Found java executable in JAVA_HOME
7373
_java="$JAVA_HOME/bin/java"
7474
else
75-
echo "No java found, quitting. Please follow instructions at http://cxc.cfa.harvard.edu/${project.name}v${project.version}/download/index.html"
75+
echo "No java found, quitting. Please follow instructions at http://cxc.cfa.harvard.edu/${project.name}/v${project.version}/download/index.html"
7676
fi
7777

7878
if [[ "$_java" ]]; then
@@ -82,6 +82,6 @@ if [[ "$_java" ]]; then
8282
echo "This java version is ok, starting Iris"
8383
start_iris $@
8484
else
85-
echo "This java version is too old, quitting. Please follow instructions at http://cxc.cfa.harvard.edu/${project.name}v${project.version}/download/index.html"
85+
echo "This java version is too old, quitting. Please follow instructions at http://cxc.cfa.harvard.edu/${project.name}/v${project.version}/download/index.html"
8686
fi
8787
fi

iris/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>cfa.vo</groupId>
1919
<artifactId>iris2</artifactId>
20-
<version>2.0</version>
20+
<version>2.0.1</version>
2121
</parent>
2222

2323
<dependencies>

pom.xml

+1-21
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
<groupId>cfa.vo</groupId>
99
<artifactId>iris2</artifactId>
1010
<packaging>pom</packaging>
11-
<version>2.0</version>
11+
<version>2.0.1</version>
1212
<name>Iris</name>
13-
<url>http://chandracxc.github.io/iris/</url>
1413

1514
<modules>
1615
<module>iris</module>
@@ -27,25 +26,6 @@
2726

2827
<build>
2928
<plugins>
30-
<plugin>
31-
<groupId>com.github.github</groupId>
32-
<artifactId>site-maven-plugin</artifactId>
33-
<version>0.8</version>
34-
<configuration>
35-
<server>github</server>
36-
<repositoryName>iris</repositoryName>
37-
<repositoryOwner>chandracxc</repositoryOwner>
38-
<message>Creating site for ${project.version}</message>
39-
</configuration>
40-
<executions>
41-
<execution>
42-
<goals>
43-
<goal>site</goal>
44-
</goals>
45-
<phase>site</phase>
46-
</execution>
47-
</executions>
48-
</plugin>
4929
<plugin>
5030
<groupId>org.apache.maven.plugins</groupId>
5131
<artifactId>maven-surefire-plugin</artifactId>

samp-factory/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>cfa.vo</groupId>
1212
<artifactId>iris2</artifactId>
13-
<version>2.0</version>
13+
<version>2.0.1</version>
1414
</parent>
1515

1616

sed-builder/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>cfa.vo</groupId>
1111
<artifactId>iris2</artifactId>
12-
<version>2.0</version>
12+
<version>2.0.1</version>
1313
</parent>
1414

1515
<dependencies>

sed-builder/src/main/java/cfa/vo/sed/builder/SedBuilder.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,8 @@ public static ExtSed flatten(ExtSed sed, String xunit, String yunit) throws SedE
490490
double[] ynewvalues = convertYValues(yoldvalues, xoldvalues, yoldunits, xoldunits, yunit);
491491
yvalues = concat(yvalues, ynewvalues);
492492
if (erroldvalues != null) {
493-
double[] errnewvalues = convertYValues(erroldvalues, xoldvalues, yoldunits, xoldunits, yunit);
493+
double[] errnewvalues = YUnits.convertErrors(erroldvalues, yoldvalues, xoldvalues, new YUnits(yoldunits), new XUnits(xoldunits), new YUnits(yunit), true);
494+
// double[] errnewvalues = convertYValues(erroldvalues, xoldvalues, yoldunits, xoldunits, yunit);
494495
staterr = concat(staterr, errnewvalues);
495496
}
496497
double[] xnewvalues = convertXValues(xoldvalues, xoldunits, xunit);

test-components/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>cfa.vo</groupId>
1111
<artifactId>iris2</artifactId>
12-
<version>2.0</version>
12+
<version>2.0.1</version>
1313
</parent>
1414

1515
<dependencies>

0 commit comments

Comments
 (0)