Neuralk.analysis.wait_until_complete#

Neuralk.analysis.wait_until_complete(analysis, refresh_time=5.0, timeout=None, verbose=False)#

Wait for analysis until it is finished.

Parameters:
  • analysis (Analysis or str) – the analysis to wait for, or its ID.

  • refresh_time (float) – time (in seconds) between status checks.

  • timeout (float, optional) – maximum time to wait in seconds.

  • verbose (bool) – whether to display status messages.

Returns:

the final analysis object.

Return type:

Analysis