[PATCH] Use ws in m for duration curve

Wald Commits scm-commit at wald.intevation.org
Tue Sep 30 14:40:07 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1412080802 -7200
# Node ID 840bc78cd333d5a0709d40ca324c84f08615ed74
# Parent  42b25829406752dc8f02a4d258bb58d773b1c008
Use ws in m for duration curve.

diff -r 42b258294067 -r 840bc78cd333 artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java	Tue Sep 30 13:03:55 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java	Tue Sep 30 14:40:02 2014 +0200
@@ -386,7 +386,8 @@
                     }
                 }
                 else if (!(pnpObject instanceof Number) &&
-                    g != null
+                    g != null &&
+                    !"duration_curve".equals(getBoundToOut())
                 ) {
                     if (mv.getMainValue().getType().getName().equals("W")) {
                         filteredList.add(new NamedDouble(


More information about the Dive4Elements-commits mailing list