Provide more explicit capture of error from PoolListHandler.get given unknown pool type?
@charles-cowart arbeitet bereits daran.
Seit 20.7.2019.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Currently, PoolListHandler.get throws a 500 error if it is passed a pool type that it doesn't recognize. This is as it should be :) However, one of the places this get is used is within an ajax call in sequencing.html:
At the moment there is no handling in place for errors from this ajax call, so if the 500 error is encountered, it is not handled and the code just keeps running. This leads to a cryptic error later in which the DataTable cannot be created because no results were returned from the ajax call:
At least the user can't make a garbage output, but clearly we could do better here.
This issue should be addressed before adding any new protocols to the software (as those could lead to new pool types). Related to #509 Centralize and harden identification of pool component types and probably to #510 PoolListHandler.get would identify pools from future new protocols as amplicon sequencing pools . Similar to #405 Silent 500 errors when plating samples.
- Vorherrschende Sprache
- Python
- Sterne
- 2
- Forks
- 15
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus biocore/LabControl
-
bug front-end question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
biocore/LabControl#594 ·
-
front-end question
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
biocore/LabControl#593 ·
-
Cache list of active samples when the active study is changed in the plating interfaceEvtl. wieder frei @fedarko hat das vor 2577 Tagen übernommen, und es ist kein Pull Request offen. Offenfront-end
biocore/LabControl#592 · 1 zugewiesene Person ·
-
code refactor front-end
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
biocore/LabControl#591 ·
-
priority:low
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 20/100
biocore/LabControl#590 ·
Alle Issues in biocore/LabControl
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
kornia/kornia#5263 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
approved correction metadata
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
acl-org/acl-anthology#10133 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
BasedHardware/omi#20084 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-acceptance wg/evaluation-quality
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
vllm-project/semantic-router#4424 ·
Maintainer antworten meist innerhalb von 1 Tag