Salome HOME
projects
/
tools
/
solverlab.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial project version
[tools/solverlab.git]
/
CoreFlows
/
gui
/
src
/
utils.py.in
1
def completeResPath(fileName):
2
import os
3
subPath = "@SALOME_INSTALL_PYTHON@"
4
rd = os.environ.get("COREFLOWS_ROOT_DIR", None)
5
if rd is None:
6
raise Exception("COREFLOWS_ROOT_DIR is not defined!")
7
filePath = os.path.join(rd, subPath, fileName)
8
return filePath