rotifer.db.uniprot.webapi.idmapping.check_response#

rotifer.db.uniprot.webapi.idmapping.check_response(response)[source]#

Raise for HTTP errors, printing the JSON error body first.

Parameters:
responserequests.Response

Response to check.

Raises:
requests.HTTPError