Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding checking algorithms environment
[modules/adao.git]
/
src
/
daSalome
/
daYacsSchemaCreator
/
help_methods.py
diff --git
a/src/daSalome/daYacsSchemaCreator/help_methods.py
b/src/daSalome/daYacsSchemaCreator/help_methods.py
index 018a20d69b3289bb12d9a6dc1d4c80f8948c3a45..96b57c0a8af4142110f5ed5b5f838f880454a3c5 100644
(file)
--- a/
src/daSalome/daYacsSchemaCreator/help_methods.py
+++ b/
src/daSalome/daYacsSchemaCreator/help_methods.py
@@
-52,9
+52,9
@@
def check_study(study_config):
logging.fatal("Cannot found Algorithm in the study configuration")
sys.exit(1)
else:
logging.fatal("Cannot found Algorithm in the study configuration")
sys.exit(1)
else:
- if
study_config["Algorithm"] not in AssimAlgos
:
+ if
not (study_config["Algorithm"] in AssimAlgos or study_config["Algorithm"] in CheckAlgos)
:
logging.fatal("Algorithm provided is unknow : " + str(study_config["Algorithm"]) +
logging.fatal("Algorithm provided is unknow : " + str(study_config["Algorithm"]) +
- "\n You can choose between : " + str(AssimAlgos))
+ "\n You can choose between : " + str(AssimAlgos)
+" "+str(CheckAlgos)
)
sys.exit(1)
# Debug
sys.exit(1)
# Debug