Skip to content

Commit

Permalink
also update bayesian workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen committed Oct 9, 2024
1 parent 42bee11 commit 0448f1e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions inst/qml/auditBayesianWorkflow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,12 @@ Form
pasteVariables.checked = true
performAuditTable.colName = names.variable_name
performAuditTable.extraCol = names.indicator_name

performAuditTable.filter = names.indicator_name + " > 0"
+ (values.count > 0 && critical.use_negative && critical.use_inspect
? (" | " + critical.use_name + " > 0")
: ""
)


if(values.count > 0 && critical.use_negative && critical.use_inspect)
performAuditTable.filter = names.indicator_name + " > 0" + " | " + critical.use_name + " > 0"
else
performAuditTable.filter = names.indicator_name + " > 0"

performAuditTable.initialValuesSource = annotation.use_values ? "values" : ""
}
}
Expand Down Expand Up @@ -321,7 +320,6 @@ Form
Layout.fillWidth: true
modelType: JASP.FilteredDataEntryModel
source: ["id", "values", "variables"]
colName: "Filter"
defaultValue: 0
decimals: 10
Layout.preferredHeight: 500 * preferencesModel.uiScale
Expand Down

0 comments on commit 0448f1e

Please sign in to comment.