runtraj.identity.file_stamp#

runtraj.identity.file_stamp(digest, realization=None)[source]#

Return what a result file records besides its contents, as Parquet file metadata.

Its folder’s settings hash (digest: variant.result_hash, or variant.stage_hashes[name] for a stage’s file), the runtraj version, and, for an ensemble, its realization number. A particle file carries it; a stage may write it too, so that its files say what made them.

Return type:

dict[bytes, bytes]

Parameters:
  • digest (str)

  • realization (int | None)