Commit 976e6dd8 authored by Mathieu Giraud's avatar Mathieu Giraud

core/windows.{h,cpp}: remove unused getters

parent 096ab901
......@@ -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() ) {
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment