summaryrefslogtreecommitdiff
path: root/src/projManagement
diff options
context:
space:
mode:
Diffstat (limited to 'src/projManagement')
-rw-r--r--src/projManagement/Validation.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py
index ac0473af..857f1987 100644
--- a/src/projManagement/Validation.py
+++ b/src/projManagement/Validation.py
@@ -110,4 +110,17 @@ class Validation:
else:
return "True"
else:
- return "DIREC" \ No newline at end of file
+ return "DIREC"
+
+ def validateCirOut(self,projDir):
+ """
+ This function checks if ".cir.out" file is present.
+ """
+ projName = os.path.basename(str(projDir))
+ lookCirOut = os.path.join(str(projDir),projName+".cir.out")
+ #Check existence of project
+ if os.path.exists(lookCirOut):
+ return True
+ else:
+ return False
+ \ No newline at end of file