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
80d69c82
Commit
80d69c82
authored
Oct 22, 2020
by
Martino Bertoni
🌋
Browse files
printing after the pipeline is initialized, so we have arguments in the log file!
parent
37f779dd
Pipeline
#2258
failed with stage
in 2 minutes and 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pipelines/cc_mini.py
View file @
80d69c82
...
...
@@ -50,14 +50,14 @@ def pipeline_parser():
@
logged
(
logging
.
getLogger
(
"[ PIPELINE %s ]"
%
os
.
path
.
basename
(
__file__
)))
def
main
(
args
):
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
# initialize Pipeline
pp
=
Pipeline
(
pipeline_path
=
args
.
pipeline_dir
,
keep_jobs
=
True
,
config
=
Config
(
args
.
config
))
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
fit_order
=
[
'sign0'
,
'sign1'
,
'neig1'
,
'proj1'
,
'clus1'
,
'sign2'
,
'neig2'
,
'proj2'
,
'clus2'
,
'sign3'
,
'neig3'
,
'proj3'
,
'clus3'
]
...
...
pipelines/cc_update.py
View file @
80d69c82
...
...
@@ -64,14 +64,14 @@ def pipeline_parser():
@
logged
(
logging
.
getLogger
(
"[ PIPELINE %s ]"
%
os
.
path
.
basename
(
__file__
)))
def
main
(
args
):
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
# initialize Pipeline
pp
=
Pipeline
(
pipeline_path
=
args
.
pipeline_dir
,
keep_jobs
=
True
,
config
=
Config
(
args
.
config
))
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
fit_order
=
[
'sign0'
,
'sign1'
,
'clus1'
,
'proj1'
,
'neig1'
,
'sign2'
,
'clus2'
,
'proj2'
,
'neig2'
,
'sign3'
]
...
...
pipelines/cc_web.py
View file @
80d69c82
...
...
@@ -37,7 +37,7 @@ def pipeline_parser():
parser
.
add_argument
(
'cc_root'
,
type
=
str
,
help
=
'Directory of the CC instance the web will refere to '
'(e.g. `/aloy/web_checker/package_cc/
2020_01
`)'
)
'(e.g. `/aloy/web_checker/package_cc/
miniCC
`)'
)
parser
.
add_argument
(
'pipeline_dir'
,
type
=
str
,
help
=
'Directory where the pipeline will run '
...
...
@@ -71,14 +71,14 @@ def pipeline_parser():
@
logged
(
logging
.
getLogger
(
"[ PIPELINE %s ]"
%
os
.
path
.
basename
(
__file__
)))
def
main
(
args
):
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
# initialize Pipeline
pp
=
Pipeline
(
pipeline_path
=
args
.
pipeline_dir
,
keep_jobs
=
True
,
config
=
Config
(
args
.
config
))
# print arguments
for
arg
in
vars
(
args
):
main
.
_log
.
info
(
'[ ARGS ] {:<25s}: {}'
.
format
(
arg
,
getattr
(
args
,
arg
)))
libraries
=
{
"apd"
:
[
'Approved drugs'
,
...
...
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