MHCXGraph.app.setup_trackers

MHCXGraph.app.setup_trackers(output_dir, settings)[source]

Initialize runtime tracking utilities.

This function configures the global tracking system used to store intermediate artifacts produced during execution and optionally creates a ResidueTracker to monitor selected residues.

Parameters:
  • output_dir (pathlib.Path) – Directory where tracking artifacts and debug files will be stored.

  • settings (dict[str, Any]) – Runtime configuration dictionary loaded from the manifest. Relevant keys include watch_residues and debug_tracking.

Returns:

tracker_residues – Residue tracker instance if residue monitoring is enabled, otherwise None.

Return type:

ResidueTracker or None