Skip to content

Commit

Permalink
Test flash loqus settings
Browse files Browse the repository at this point in the history
  • Loading branch information
northwestwitch committed Dec 15, 2021
1 parent 8a6cd6a commit 2df0741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ About changelog [here](https://keepachangelog.com/en/1.0.0/)
- Modified the code to collect database params specified as env vars
- Created a GitHub action that pushes the Dockerfile-server image to Docker Hub (scout-server-stage) every time a PR is opened
- Created a GitHub action that pushes the Dockerfile-server image to Docker Hub (scout-server) every time a new release is created
- Temp debug message to check why loqus is not reachable
### Changed
- Updated the python config file documentation in admin guide
### Fixed
Expand Down
5 changes: 4 additions & 1 deletion scout/server/blueprints/variant/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,10 @@ def observations(store, loqusdb, case_obj, variant_obj):
institute_obj = store.institute(institute_id)
loqusdb_id = institute_obj.get("loqusdb_id") or "default"
if loqusdb.loqusdb_settings[loqusdb_id]["version"] is None:
flash("Could not connect to the preselected loqusdb instance", "danger")
flash(
f"Could not connect to the preselected loqusdb instance. Settings:{loqusdb.loqusdb_settings}",
"danger",
)
return {
"total": "N/A",
}
Expand Down

0 comments on commit 2df0741

Please sign in to comment.