autoemx.utils.legacy.legacy_config_loader module

Legacy configuration JSON loader for pre-ledger project layouts.

autoemx.utils.legacy.legacy_config_loader.get_legacy_data_csv_path(sample_dir: str, data_filename: str = 'Data') → str[source]

Return the legacy CSV path for a sample directory and base filename.

autoemx.utils.legacy.legacy_config_loader.has_legacy_data_csv(sample_dir: str, data_filename: str = 'Data') → bool[source]

Return whether the legacy Data.csv-like file exists for a sample directory.

autoemx.utils.legacy.legacy_config_loader.load_legacy_configurations_from_json(json_path: str, config_classes_dict: Dict[str, Any]) → Tuple[Dict[str, Any], Dict[str, Any]][source]

Rebuild runtime config objects from a legacy config JSON payload.

This function exists only for fallback paths where no ledger is available yet.