NeuroMorphoCacheStatus

NeuroMorphoCacheStatus#

class braincell.io.NeuroMorphoCacheStatus(configured, folder, exists, metadata_exists, standard_exists, original_exists, neuron_id)[source]#

Snapshot of what is cached on disk for a single neuron.

Parameters:
  • configured (bool) – Whether the parent client / cache has a known root directory.

  • folder (Path | None) – Absolute path of the per-neuron cache folder, when configured.

  • exists (bool) – True if the per-neuron folder exists on disk.

  • metadata_exists (bool) – True if metadata.json exists in the folder.

  • standard_exists (bool) – True if the standardized SWC file is present.

  • original_exists (bool) – True if the original (Source-Version) file is present.

  • neuron_id (int | None) – The neuron id this status describes.