Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test flash loqus settings #3055

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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