Provide more explicit capture of error from PoolListHandler.get given unknown pool type?
@charles-cowart 已经在做这个了。
开始于 2019年7月20日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- Python
- 星标
- 2
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
biocore/LabControl 的其他 Issue
-
bug front-end question
难度 4/5 3-5 天 新手友好度 30/100
biocore/LabControl#594 ·
-
front-end question
难度 5/5 一周以上 新手友好度 35/100
biocore/LabControl#593 ·
-
Cache list of active samples when the active study is changed in the plating interface可能重新可做 @fedarko 于 2576 天前认领,目前没有进行中的 PR。 未关闭front-end
biocore/LabControl#592 · 已指派 1 人 ·
-
code refactor front-end
难度 5/5 一周以上 新手友好度 25/100
biocore/LabControl#591 ·
-
priority:low
难度 3/5 1-2 天 新手友好度 20/100
biocore/LabControl#590 ·
查看 biocore/LabControl 的全部 Issue
相似的 Issue
-
customer-reported
难度 2/5 1-3 小时 新手友好度 68/100
Azure/azure-cli#34150 · 1 条评论 ·
维护者通常 1 天内回复
-
community-request
难度 1/5 1 小时以内 新手友好度 95/100
NVIDIA-NeMo/Curator#2464 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
WeblateOrg/translation-finder#1099 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
trezor/trezor-firmware#7997 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复