runtraj.Project.add_releases#

Project.add_releases(releases)[source]#

Add releases to releases.csv and return the ids of the new ones.

The file is created if needed, and otherwise only appended to, in its own columns (runtraj.releases.table.append_releases_csv()). Releases it already holds are skipped.

Parameters:

releases (runtraj.releases.Release | Iterable[runtraj.releases.Release] | str | Path) – Releases, or the path of a releases CSV to add them from.

Raises:

ValueError – If a new release has the id of a different release, since an id names a release’s result files.

Return type:

list[str]