Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SOaAS
psot.repository
Commits
22f5b240
Commit
22f5b240
authored
Dec 04, 2017
by
hmueller
Browse files
Replace string with empty list to indicate no matches.
parent
c6f18289
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/convert_hmmer.py
View file @
22f5b240
...
...
@@ -59,7 +59,7 @@ with open(filename) as f:
for
query_id
in
queries
:
if
not
query_id
in
documents
:
documents
[
query_id
]
=
{
"id"
:
query_id
,
"computations"
:
[{
'tool'
:
tool
,
'results'
:
"no match found"
}]}
documents
[
query_id
]
=
{
"id"
:
query_id
,
"computations"
:
[{
'tool'
:
tool
,
'results'
:
[]
}]}
output_filename
=
args
.
output
with
open
(
output_filename
,
'w'
)
as
o
:
...
...
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