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
vidjil
vidjil
Commits
d1c69bd3
Commit
d1c69bd3
authored
Jun 25, 2018
by
Mathieu Giraud
Browse files
Merge branch 'feature-a/remove-compiler-warnings' into 'dev'
Remove compiler warnings See merge request
!221
parents
59aa4797
340b02e9
Pipeline
#29946
passed with stages
in 34 minutes and 43 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
algo/core/filter.cpp
View file @
d1c69bd3
...
...
@@ -88,7 +88,6 @@ BioReader filterBioReaderWithACAutomaton(
};
// Use a set to use the comparator and sort function
set
<
pair
<
KmerAffect
,
int
>
,
Comparator
>
setOfWords
(
mapAho
.
begin
(),
mapAho
.
end
(),
compFunctor
);
set
<
pair
<
KmerAffect
,
int
>
,
Comparator
>::
iterator
setIt
=
setOfWords
.
begin
();
// Iterate over the pair and not the map
int
nbKmers
=
0
,
previousOccurences
=
0
;
for
(
pair
<
KmerAffect
,
int
>
element
:
setOfWords
){
...
...
algo/vidjil.cpp
View file @
d1c69bd3
...
...
@@ -288,8 +288,6 @@ int main (int argc, char **argv)
string
windows_labels_file
=
""
;
bool
only_labeled_windows
=
false
;
char
c
;
int
options_s_k
=
0
;
double
expected_value
=
THRESHOLD_NB_EXPECTED
;
...
...
@@ -370,7 +368,7 @@ int main (int argc, char **argv)
group
+=
"
\n
(all these options, except -w, are overriden when using -g)"
;
app
.
add_flag_function
(
"-q"
,
[
&
](
size_t
n
)
{
indexType
=
AC_AUTOMATON
;
},
[
&
](
size_t
n
)
{
UNUSED
(
n
);
indexType
=
AC_AUTOMATON
;
},
"use Aho-Corasick-like automaton (experimental)"
)
->
group
(
group
)
->
level
();
...
...
@@ -398,7 +396,7 @@ int main (int argc, char **argv)
app
.
add_option
(
"-t"
,
[
&
](
CLI
::
results_t
res
)
{
bool
worked
=
CLI
::
detail
::
lexical_cast
(
res
[
0
],
trim_sequences
);
CLI
::
detail
::
lexical_cast
(
res
[
0
],
trim_sequences
);
trim_sequences_changed
=
true
;
return
true
;
},
...
...
@@ -469,6 +467,7 @@ int main (int argc, char **argv)
->
group
(
group
)
->
set_type_name
(
"INT="
+
string_of_int
(
max_clones
));
app
.
add_flag_function
(
"-A"
,
[
&
](
size_t
n
)
{
UNUSED
(
n
);
ratio_reads_clone
=
0
;
min_reads_clone
=
1
;
max_representatives
=
NO_LIMIT_VALUE
;
...
...
@@ -560,7 +559,7 @@ int main (int argc, char **argv)
app
.
set_help_flag
(
"-h"
,
"help"
)
->
group
(
group
);
app
.
add_flag_function
(
"-H"
,
[
&
](
size_t
n
)
{
throw
CLI
::
CallForAdvancedHelp
()
;
},
app
.
add_flag_function
(
"-H"
,
[
&
](
size_t
n
)
{
UNUSED
(
n
);
throw
CLI
::
CallForAdvancedHelp
()
;
},
"help, including advanced and experimental options"
"
\n
"
"The full help is available in the doc/algo.org file."
)
...
...
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