Skip to content

GlyGen: cfde-c2m2 prepare error #3

@jeet-vora

Description

@jeet-vora

When cfde-c2m2 prepare is run I am getting HTTPError: 413 Client Error. It seems the script is sending an HTTP request to the OLS (Ontology Lookup Service) API endpoint that is too large for the server to accept.

[rewrite protein]: loading existing IRIs...: 0it [00:00, ?it/s]
[rewrite protein]: preserving existing IRIs...: 307681it [00:01, 159613.06it/s]
[rewrite protein]: resolving new IRIs...: 0it [00:00, ?it/s]Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/jeetvora/.local/share/pipx/venvs/cfde-c2m2/lib64/python3.9/site-packages/cfde_c2m2/ols/bulk_by_id.py", line 18, in <module>
    req.raise_for_status()
  File "/home/jeetvora/.local/share/pipx/venvs/cfde-c2m2/lib64/python3.9/site-packages/requests/models.py", line 1026, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: Request Entity Too Large for url: https://ols.cfde.cloud/api/v1/bulk-by-id/UniProtKB
[rewrite protein]: resolving new IRIs...: 0it [00:00, ?it/s]
[rewrite protein]: finding ontology IRIs...: 0it [00:00, ?it/s]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions