Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
metaclade2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Riccardo Vicedomini
metaclade2
Commits
09ce7ba4
Commit
09ce7ba4
authored
Apr 25, 2020
by
Riccardo Vicedomini
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.lcqb.upmc.fr/vicedomini/metaclade2
parents
8da900e4
b6eb4dba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
metaclade2-common
metaclade2-common
+1
-1
filter_hits.py
scripts/filter_hits.py
+4
-0
No files found.
metaclade2-common
View file @
09ce7ba4
...
...
@@ -17,7 +17,7 @@
# Common functions and definitions
PV_NAME
=
"MetaCLADE"
PV_VERSION
=
'2.0'
PV_DATE
=
'20200
220
'
PV_DATE
=
'20200
318
'
function
abspath
()
{
echo
"
$(
cd
"
$(
dirname
"
$1
"
)
"
;
pwd
-P
)
/
$(
basename
"
$1
"
)
"
;
}
...
...
scripts/filter_hits.py
View file @
09ce7ba4
...
...
@@ -8,6 +8,8 @@ from collections import defaultdict
from
mclade_utils
import
*
script_name
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
__file__
)
)[
0
]
# ARGUMENTS
RESULT_FILE
=
"result_file"
OUT_RESULT_FILE
=
"out_result_files"
...
...
@@ -30,6 +32,8 @@ def main():
# load results file and sort the hits by decreasing score
results
=
[]
for
result_filename
in
args
[
RESULT_FILE
]:
if
not
os
.
path
.
isfile
(
result_filename
):
continue
with
open
(
result_filename
,
'r'
)
as
result_file
:
for
line
in
result_file
:
results
.
append
(
line
.
rstrip
(
'
\n\r
'
)
.
split
(
'
\t
'
)
)
...
...
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