Closed btemperton closed 3 years ago
If you use the --is-surveillance flag, e.g.
--is-surveillance
ocarina put biosample --adm1 UK-ENG --is-surveillance \ --central-sample-id EXET-13A00C \ --received-date 2020-11-22
it returns an error suggesting it is trying to call strip() on the boolean associated with the variable is-surveillance
strip()
is-surveillance
Response======================================================================== { "errors": 1, "ignored": [], "messages": [ "'bool' object has no attribute 'strip'" ], "new": [], "request": "e9712f2a-1f92-4cf2-ab72-5191bccb4c0c", "success": false, "tasks": [], "updated": [], "warnings": 0 }
Fixed by https://github.com/SamStudio8/majora/commit/bd84f18b7bd56e056d84e5d5a1062f700022044a Thanks
If you use the
--is-surveillance
flag, e.g.it returns an error suggesting it is trying to call
strip()
on the boolean associated with the variableis-surveillance