Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
d8fdc32b
Commit
d8fdc32b
authored
Feb 16, 2021
by
Martino Bertoni
🌋
Browse files
CC verbosity is set at import time to the value specified in the config (WARNIN by default)
parent
073a1833
Pipeline
#2416
failed with stages
in 3 minutes and 14 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package/chemicalchecker/__init__.py
View file @
d8fdc32b
...
...
@@ -27,6 +27,7 @@
from
.core
import
ChemicalChecker
from
.util
import
Config
ChemicalChecker
.
set_verbosity
(
level
=
Config
().
VERBOSITY
.
level
)
__author__
=
"""SBNB"""
__email__
=
'sbnb@irbbarcelona.org'
...
...
package/chemicalchecker/util/config/cc_config.json
View file @
d8fdc32b
...
...
@@ -7,6 +7,9 @@
"SINGULARITY_IMAGE"
:
"'/aloy/web_checker/images/cc.simg'"
,
"validation_path"
:
"'/aloy/web_checker/package_cc/validation_sets/'"
},
"VERBOSITY"
:
{
"level"
:
"'warning'"
},
"DB"
:
{
"dialect"
:
"'postgresql'"
,
"port"
:
"'5432'"
,
...
...
setup/cc_config.json
View file @
d8fdc32b
...
...
@@ -7,6 +7,9 @@
"SINGULARITY_IMAGE"
:
"'/aloy/web_checker/images/cc.simg'"
,
"validation_path"
:
"'/aloy/web_checker/package_cc/validation_sets/'"
},
"VERBOSITY"
:
{
"level"
:
"'warning'"
},
"DB"
:
{
"dialect"
:
"'postgresql'"
,
"port"
:
"'5432'"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment