Resolve "Getting the last scan of a session is time consuming"
Closes #2009 (closed)
@sfisher To get the scans in Daquiri this MR will provide you with:
session_node = get_session_node(session_name)
scans = list(session_node.get_child_containers(filter="scan"))
@sole To get the last filename this MR will provide you with:
session_node = get_session_node(session_name)
filename = get_last_scan_filename(session_node)
Edited by Wout De Nolf