Skip to content

Commit

Permalink
Merge branch 'staging' into fix-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole authored Oct 5, 2023
2 parents 9aa85d2 + 922c9c5 commit 7f59e93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ const GetStrength = (score) => {
};

const GetStrengthColor = (score) => {
if (score === 0) return '#D1B000';
if (score < 5) return 'Green';
if (score === 0) return 'darkgreen';
if (score < 5) return '#93C54B';
if (score >= 20) return 'Red';
return 'Orange';
};
Expand Down
2 changes: 1 addition & 1 deletion application/utils/gap_analysis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PENALTIES = {
"RELATED": 20,
"RELATED": 2,
"CONTAINS_UP": 2,
"CONTAINS_DOWN": 1,
"LINKED_TO": 0,
Expand Down
2 changes: 1 addition & 1 deletion application/web/web_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def find_document_by_tag() -> Any:


@app.route("/rest/v1/gap_analysis", methods=["GET"])
@cache.cached(timeout=50)
@cache.cached(timeout=50, query_string=True)
def gap_analysis() -> Any:
database = db.Node_collection()
standards = request.args.getlist("standard")
Expand Down

0 comments on commit 7f59e93

Please sign in to comment.