Skip to content

idmapping sleep/ wait #23

@Dan-Burns

Description

@Dan-Burns

Hello,

I'd like to use the idmappingclient but I have to get lucky to not end up with the error
UniProt has not yet processed the results, consider using time.sleep() to wait until they are complete.

I have reduced the size of my query lists quite a bit but at some point in my loop, I will get the error. I have added time.sleep() before I call request.each_result() but I don't know how long to set it for to ensure I don't run into the error.

I see there is a "waiting" module but I'm not sure how to incorporate it into this so I can wait indefinitely for the results to be returned.

Thank you for this package.

Dan

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions