Raise error when `analysis_id` does not relate to an analysis.
Raise error when `analysis_id` does not relate to an analysis.

Also raise error if `ready` is already set on the analysis.

igboyes/virtool,virtool/virtool,igboyes/virtool,virtool/virtool