Skip to content

Commit

Permalink
Merge branch 'master' into version_4.32.1
Browse files Browse the repository at this point in the history
  • Loading branch information
northwestwitch authored Apr 16, 2021
2 parents 9bda326 + dae7284 commit d3d79fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ About changelog [here](https://keepachangelog.com/en/1.0.0/)
## [4.32.1]
### Fixed
- iSort lint check only
- Institute cases page crashing when a case has track:Null
### Added
### Changed

Expand Down
2 changes: 1 addition & 1 deletion scout/adapter/mongo/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def update_case(self, case_obj, keep_date=False):
"smn_tsv": case_obj.get("smn_tsv"),
"status": case_obj.get("status"),
"sv_rank_model_version": case_obj.get("sv_rank_model_version"),
"track": case_obj.get("track"),
"track": case_obj.get("track", "rare"),
"updated_at": updated_at,
"variants_stats": case_obj.get("variants_stats"),
"vcf_files": case_obj.get("vcf_files"),
Expand Down
3 changes: 2 additions & 1 deletion scout/server/blueprints/institutes/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

from .forms import CaseFilterForm

TRACKS = {"rare": "Rare Disease", "cancer": "Cancer"}
# Do not assume all cases have a valid track set
TRACKS = {None: "Rare Disease", "rare": "Rare Disease", "cancer": "Cancer"}


def institute(store, institute_id):
Expand Down

0 comments on commit d3d79fa

Please sign in to comment.