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
vidjil
vidjil
Commits
976e6dd8
Commit
976e6dd8
authored
Nov 04, 2014
by
Mathieu Giraud
Browse files
core/windows.{h,cpp}: remove unused getters
parent
096ab901
Changes
2
Hide whitespace changes
Inline
Side-by-side
algo/core/windows.cpp
View file @
976e6dd8
...
...
@@ -10,22 +10,10 @@
WindowsStorage
::
WindowsStorage
(
map
<
string
,
string
>
&
labels
)
:
windows_labels
(
labels
)
{}
map
<
junction
,
list
<
Sequence
>
>
&
WindowsStorage
::
getMap
()
{
return
seqs_by_window
;
}
list
<
pair
<
junction
,
int
>
>
&
WindowsStorage
::
getSortedList
()
{
return
sort_all_windows
;
}
size_t
WindowsStorage
::
getNbReads
(
junction
window
)
{
return
seqs_by_window
[
window
].
size
();
}
vector
<
int
>
WindowsStorage
::
getStatus
(
junction
window
)
{
return
status_by_window
[
window
];
}
string
WindowsStorage
::
getLabel
(
junction
window
)
{
if
(
windows_labels
.
find
(
window
)
==
windows_labels
.
end
())
...
...
@@ -93,10 +81,6 @@ void WindowsStorage::setIdToAll() {
}
}
int
WindowsStorage
::
getId
(
junction
window
)
{
return
id_by_window
[
window
];
}
void
WindowsStorage
::
add
(
junction
window
,
Sequence
sequence
,
int
status
,
Germline
*
germline
)
{
seqs_by_window
[
window
].
push_back
(
sequence
);
if
(
status_by_window
.
find
(
window
)
==
status_by_window
.
end
()
)
{
...
...
algo/core/windows.h
View file @
976e6dd8
...
...
@@ -38,20 +38,6 @@ class WindowsStorage {
*/
WindowsStorage
(
map
<
string
,
string
>
&
labels
);
/**
* Return the map storing the elements
*/
map
<
junction
,
list
<
Sequence
>
>
&
getMap
();
/**
* @return the number of reads supporting a given window
*/
size_t
getNbReads
(
junction
window
);
/**
* @return the segmented status of reads supporting a given window
*/
vector
<
int
>
getStatus
(
junction
window
);
Germline
*
getGermline
(
junction
window
);
JsonList
statusToJson
(
junction
window
);
...
...
Write
Preview
Supports
Markdown
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