register_declared_result_files

Full name: ase2sprkkr.outputs.file_provenance.register_declared_result_files

ase2sprkkr.outputs.file_provenance.register_declared_result_files(result, *, warn_missing=True)[source]

Add existing task-declared outputs to the parsed result file registry.

The native OUT FILES table is authoritative for observed names and types. A task declaration fills gaps but never overrides a file already registered by the parser. Absent files are not registered; required ones can warn. This must run after the calculation’s outputs have been made available locally (for persistent/remote runs, after result-file retrieval).