Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/FixRealizingCompute.java @ 9342:0c621beceb2f
2.3.4.2.5 Beseitigung des Fehlers beim Laden eines Projektes
der BArt „ausgelagerte Wasserspiegellage“
author | gernotbelger |
---|---|
date | Mon, 30 Jul 2018 14:24:17 +0200 |
parents | 42c15e2f95fb |
children | ddcd52d239cd |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/FixRealizingCompute.java Mon Jul 30 10:23:48 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/FixRealizingCompute.java Mon Jul 30 14:24:17 2018 +0200 @@ -142,12 +142,13 @@ facets.add(new DataFacet(AT, "AT data", ComputeType.ADVANCE, hash, id)); - facets.add(new FixWQCurveFacet(0, Resources.getMsg(meta, I18N_WQ_CURVE, I18N_WQ_CURVE) + " (" + access.getFunction() + ")")); + if (fixRes != null) + facets.add(new FixWQCurveFacet(0, Resources.getMsg(meta, I18N_WQ_CURVE, I18N_WQ_CURVE) + " (" + access.getFunction() + ")")); - if (access.getPreprocessing()) { + if (access.getPreprocessing() && fixRes != null) { facets.add(new FixOutlierFacet(0, FIX_OUTLIER, Resources.getMsg(meta, I18N_WQ_OUTLIER, I18N_WQ_OUTLIER))); } return res; } -} +} \ No newline at end of file