Skip to content

Commit 5f1fccf

Browse files
committed
Correct threshold default value
1 parent 3ab428b commit 5f1fccf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

klab.engine/src/main/java/org/integratedmodelling/klab/components/processing/openbuildings/OpenBuildingsInstantiator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public List<IObjectArtifact> instantiate(IObservable semantics, IContextualizati
124124
BufferedReader bufferedReader = new BufferedReader(reader);
125125

126126
CSVParser csvParser = new CSVParser(bufferedReader, CSVFormat.DEFAULT.withFirstRecordAsHeader().withTrim());
127-
// TODO optimize -> stream
128127
int n = 1;
129128
for (CSVRecord record : csvParser) {
130129
double recordConfidence = Double.parseDouble(record.get(CONFIDENCE_INDEX));

klab.engine/src/main/resources/components/org.integratedmodelling.geospace/services/openbuildings.kdl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ const export object query
66
""
77
label 'Query OpenBuildings'
88
{
9-
109
optional number threshold
11-
""
12-
default 90
10+
"The threshold of the query. Any building below that confidence level will be removed from the final visualization. Default: 0.9."
11+
default 0.9
1312

1413
class org.integratedmodelling.klab.components.processing.openbuildings.OpenBuildingsInstantiator
1514
}

0 commit comments

Comments
 (0)