pymgipsim.Utilities.simulation_folder.get_most_recent_folder_in_directory

get_most_recent_folder_in_directory(directory: str) str[source]

Get the most recent folder in a given directory based on modification time.

Parameters: - directory: str

Directory path.

Returns: - str

Path of the most recent folder.