runtraj.particles.stored_release#

runtraj.particles.stored_release(meta, path)[source]#

Return the release a stored result file records in its metadata.

Parameters:
  • meta (Mapping[bytes, bytes]) – The file’s Parquet schema metadata.

  • path (str | Path | UPath) – The file, named in the message when it cannot be read.

Raises:

ValueError – If the file was written before the receptor was renamed the release, so it records a receptor and not runtraj:release, or records neither.

Return type:

runtraj.releases.Release