Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,712
Issues
1,712
List
Boards
Labels
Service Desk
Milestones
Merge Requests
87
Merge Requests
87
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
976e6dd8
Commit
976e6dd8
authored
Nov 04, 2014
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/windows.{h,cpp}: remove unused getters
parent
096ab901
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
algo/core/windows.cpp
algo/core/windows.cpp
+0
-16
algo/core/windows.h
algo/core/windows.h
+0
-14
No files found.
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
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