pyphi.campaign.status#

pyphi.campaign.status(directory)[source]#

Classify every task from the output files and refresh remaining.txt.

A task is done exactly when its output file exists, loads, and every entry is ok or skipped; it is failed when the output loads with an error entry or does not load; otherwise it is pending. Pending and failed task ids are rewritten to remaining.txt, so resubmission is running condor_submit pyphi.sub again.

Parameters:

directory (Any)

Return type:

CampaignStatus