Commit 53ccef70 authored by Domanski, Marian M.'s avatar Domanski, Marian M.
Browse files

add check for unsteady plan

parent d6ded17c
......@@ -331,6 +331,11 @@ class RASProject:
self._ras_controller = None
def current_plan_is_unsteady(self):
current_unsteady_file = self._ras_controller.CurrentUnSteadyFile()
return os.path.isfile(current_unsteady_file)
def current_plan_name(self):
"""Returns the current plan name
......@@ -501,3 +506,4 @@ class RASProject:
raise ValueError("Invalid plan name")
self._current_plan_number = plan_names.index(plan_name) + 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment