load_setup_logs#
- load_setup_logs(project: str, setup_name: str, max_date: Any | None = None, root: str | Path | None = None) tuple[source]#
Events (events.csv and old_events) and sessions summary (sessions_summary.csv) of one setup of a project, with date as datetime and only rows up to max_date if given.
Reads <root>/<project>/<setup_name>/ (root defaults to get_outpath()). Both are sorted by date (the old_events files are not always in order) and without repeated rows (events copied in more than one file). Returns (events_df, sessions_summary_df); each one is None, with a warning, if its file is missing or unreadable, so that a report can still show the trials.