Skip to content

Commit

Permalink
Merge branch 'develop' into feature/IM-384-KEYCLOAK
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaBc3 committed Jun 13, 2024
2 parents 01b9b4a + 630a835 commit 8556bbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public HMStacCollection getCollection() {

public IGeometry getGeometry(IParameters<String> parameters) {
GeometryBuilder gBuilder = Geometry.builder();
gBuilder.time().generic();

ReferencedEnvelope envelope = collection.getSpatialBounds();
double[] upperCorner = {envelope.getMaxX(), envelope.getMaxY()};
double[] lowerCorner = {envelope.getMinX(), envelope.getMinY()};
Expand All @@ -52,7 +50,8 @@ public IGeometry getGeometry(IParameters<String> parameters) {

setTemporalInterval(gBuilder);

Geometry ret = gBuilder.build().withProjection(Projection.DEFAULT_PROJECTION_CODE);
Geometry ret = gBuilder.build().withProjection(Projection.DEFAULT_PROJECTION_CODE)
.withTimeType("grid");
return ret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2378,11 +2378,12 @@ class KimValidator extends AbstractKimValidator {

if (fits) {
ret.emergenceTriggers.add(countable)
} else {
}
/* else {
error("inconsistent use of the 'emerges from' clause", concept,
KimPackage.Literals.CONCEPT_STATEMENT_BODY__EMERGENCE_TRIGGERS)
ok = false
}
} */
i++
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2900,10 +2900,6 @@ public KimConceptStatement validateConceptBody(final ConceptStatementBody concep
}
if (fits) {
ret.getEmergenceTriggers().add(countable);
} else {
this.error("inconsistent use of the \'emerges from\' clause", concept,
KimPackage.Literals.CONCEPT_STATEMENT_BODY__EMERGENCE_TRIGGERS);
ok = false;
}
i_2++;
}
Expand Down

0 comments on commit 8556bbb

Please sign in to comment.