Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
3efe637c
Unverified
Commit
3efe637c
authored
9 months ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
test: hide warnings
parent
12c0b061
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/conop/src/chemdict_tool.cc
+3
-0
3 additions, 0 deletions
modules/conop/src/chemdict_tool.cc
modules/conop/tests/test_complib.py
+1
-1
1 addition, 1 deletion
modules/conop/tests/test_complib.py
with
4 additions
and
1 deletion
modules/conop/src/chemdict_tool.cc
+
3
−
0
View file @
3efe637c
...
...
@@ -45,6 +45,7 @@ void PrintUsage()
std
::
cout
<<
" -i - ignore compounds reserved by the PDB (01-99, DRG, INH, LIG)"
<<
std
::
endl
;
std
::
cout
<<
" -o - ignore obsolete compounds"
<<
std
::
endl
;
std
::
cout
<<
" -v - be more verbose"
<<
std
::
endl
;
std
::
cout
<<
" -q - be more quiet (last of -v or -q is applied)"
<<
std
::
endl
;
}
int
main
(
int
argc
,
char
const
*
argv
[])
...
...
@@ -74,6 +75,8 @@ int main(int argc, char const *argv[])
ignore_obsolete
=
true
;
}
else
if
(
param
==
"-v"
)
{
Logger
::
Instance
().
PushVerbosityLevel
(
4
);
}
else
if
(
param
==
"-q"
)
{
Logger
::
Instance
().
PushVerbosityLevel
(
0
);
}
else
{
PrintUsage
();
return
0
;
...
...
This diff is collapsed.
Click to expand it.
modules/conop/tests/test_complib.py
+
1
−
1
View file @
3efe637c
...
...
@@ -11,7 +11,7 @@ def CreateComplib(compound_dict_path, chemlib_out_path, extra_args=None):
chemdict_tool_path
=
os
.
path
.
join
(
prefix_path
,
"
bin
"
,
"
chemdict_tool
"
)
if
not
os
.
path
.
exists
(
chemdict_tool_path
):
raise
RuntimeError
(
"
Expect chemdict_tool:
"
,
chemdict_tool_path
)
cmd
=
[
chemdict_tool_path
,
"
create
"
,
compound_dict_path
,
chemlib_out_path
]
cmd
=
[
chemdict_tool_path
,
"
create
"
,
compound_dict_path
,
chemlib_out_path
,
"
-q
"
]
if
extra_args
:
cmd
+=
extra_args
subprocess
.
run
(
cmd
,
stdout
=
subprocess
.
PIPE
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment