Skip to content

Commit

Permalink
Merge pull request #42 from eurunuela/enh/rationale
Browse files Browse the repository at this point in the history
Added manual classification rationale to output table
  • Loading branch information
eurunuela authored Mar 11, 2022
2 parents a129b37 + 7e3ad71 commit d74a9fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INLINE_RUNTIME_CHUNK=false
GENERATE_SOURCEMAP=false
SKIP_PREFLIGHT_CHECK=true
REACT_APP_VERSION=1.0.10
REACT_APP_VERSION=1.0.11
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rica",
"version": "1.0.10",
"version": "1.0.11",
"private": true,
"dependencies": {
"@blueprintjs/core": "^3.53.0",
Expand Down
6 changes: 6 additions & 0 deletions src/Plots/Plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ class Plots extends React.Component {
origData[i].original_classification = origData[i].classification;
origData[i].classification =
this.state.variance.datasets[0].classification[pieIndex];

// Change rationale of components that have different values in
// original_classification and classification
if (origData[i].classification !== origData[i].original_classification) {
origData[i].rationale = "I001";
}
}
console.log(origData);

Expand Down

0 comments on commit d74a9fe

Please sign in to comment.