diff -Nru spview-2.0.1/debian/changelog spview-2.0.2/debian/changelog --- spview-2.0.1/debian/changelog 2022-03-31 14:49:59.000000000 +0000 +++ spview-2.0.2/debian/changelog 2023-06-12 20:01:08.000000000 +0000 @@ -1,3 +1,14 @@ +spview (2.0.2-1) unstable; urgency=medium + + * Team upload + [ Cyril Richard ] + * New upstream version + + [ tony mancill ] + * Bump Standards-Version to 4.6.2 (no changes) + + -- tony mancill Mon, 12 Jun 2023 13:01:08 -0700 + spview (2.0.1-1) unstable; urgency=medium [ Cyril Richard ] diff -Nru spview-2.0.1/debian/control spview-2.0.2/debian/control --- spview-2.0.1/debian/control 2022-03-31 14:49:59.000000000 +0000 +++ spview-2.0.2/debian/control 2023-06-12 20:01:08.000000000 +0000 @@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= 13), default-jdk, javahelper -Standards-Version: 4.6.0.1 +Standards-Version: 4.6.2.0 Vcs-Browser: https://salsa.debian.org/science-team/spview Vcs-Git: https://salsa.debian.org/science-team/spview.git Homepage: https://icb.u-bourgogne.fr/programmes-et-banques-de-donnees-spectroscopiques diff -Nru spview-2.0.1/debian/copyright spview-2.0.2/debian/copyright --- spview-2.0.1/debian/copyright 2022-03-31 14:49:59.000000000 +0000 +++ spview-2.0.2/debian/copyright 2023-06-12 20:01:08.000000000 +0000 @@ -4,7 +4,7 @@ Source: https://gitlab.com/lock042/spview Files: * -Copyright: 2015 - 2022 Cyril Richard +Copyright: 2015 - 2023 Cyril Richard < 2015 Christian Wenger License: GPL-3+ This program is free software: you can redistribute it and/or modify @@ -24,7 +24,7 @@ Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. Files: debian/extra/org.spview.appdata.xml -Copyright: 2015 - 2022 Cyril Richard +Copyright: 2015 - 2023 Cyril Richard License: CC0-1.0 The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under diff -Nru spview-2.0.1/sources/org/spview/gui/PlotData.java spview-2.0.2/sources/org/spview/gui/PlotData.java --- spview-2.0.1/sources/org/spview/gui/PlotData.java 2022-03-31 15:03:55.000000000 +0000 +++ spview-2.0.2/sources/org/spview/gui/PlotData.java 2022-10-24 09:10:54.000000000 +0000 @@ -129,7 +129,8 @@ int x0 = i * (getWidth() - padding * 2 - labelPadding) / (data.size() - 1) + padding + labelPadding; int y0 = getHeight() - padding - labelPadding; // int y1 = y0 - pointWidth; - if ((i % ((int) ((data.size() / 3.0)) + 1)) == 0) { + int interval = (int) (data.size() / 3.0); + if (i % (interval + 1) == 0) { g2.setColor(gridColor); g2.drawLine(x0, getHeight() - padding - labelPadding - 1 - pointWidth, x0, padding); g2.setColor(Color.BLACK); diff -Nru spview-2.0.1/sources/org/spview/residuals/ObsCalc.java spview-2.0.2/sources/org/spview/residuals/ObsCalc.java --- spview-2.0.1/sources/org/spview/residuals/ObsCalc.java 2022-03-31 15:03:55.000000000 +0000 +++ spview-2.0.2/sources/org/spview/residuals/ObsCalc.java 2022-10-24 09:10:54.000000000 +0000 @@ -63,7 +63,8 @@ int index = uniqPoint.getIpred(); if (index != -1 && uniqPoint.getSaso().equals("+")) { - double diff = this.expFile.getY(i) - this.predFile.getY(index); + // 100*(obs-calc)/obs + double diff = 100 * (this.expFile.getY(i) - this.predFile.getY(index)) / this.expFile.getY(i); YResiduals.add(new ResidualPoint(this.expFile.getX(i), diff, uniqPoint.getJsyn())); } } diff -Nru spview-2.0.1/sources/org/spview/Spview.java spview-2.0.2/sources/org/spview/Spview.java --- spview-2.0.1/sources/org/spview/Spview.java 2022-03-31 15:03:55.000000000 +0000 +++ spview-2.0.2/sources/org/spview/Spview.java 2022-10-24 09:10:54.000000000 +0000 @@ -16,7 +16,7 @@ public class Spview { public final static String PACKAGE_NAME = "SPVIEW"; - public final static String VERSION = "2.0.1"; + public final static String VERSION = "2.0.2"; /** * Start SPVIEW application.