Skip to content

Commit

Permalink
added initilaization for empty strand
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Nov 18, 2024
1 parent 8951ea3 commit d0dd5e0
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 2 deletions.
8 changes: 8 additions & 0 deletions cli/include/BEDReader.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Created by Richard Albin Schaefer on 11/17/24.
//

#ifndef GENOGROVE_BEDREADER_HPP
#define GENOGROVE_BEDREADER_HPP

#endif //GENOGROVE_BEDREADER_HPP
8 changes: 8 additions & 0 deletions cli/include/FileEntry.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Created by Richard Albin Schaefer on 11/18/24.
//

#ifndef GENOGROVE_FILEENTRY_HPP
#define GENOGROVE_FILEENTRY_HPP

#endif //GENOGROVE_FILEENTRY_HPP
8 changes: 8 additions & 0 deletions cli/include/FileReader.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Created by Richard Albin Schaefer on 11/17/24.
//

#ifndef GENOGROVE_FILEREADER_HPP
#define GENOGROVE_FILEREADER_HPP

#endif //GENOGROVE_FILEREADER_HPP
8 changes: 8 additions & 0 deletions cli/include/FileReaderFactory.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Created by Richard Albin Schaefer on 11/17/24.
//

#ifndef GENOGROVE_FILEREADERFACTORY_HPP
#define GENOGROVE_FILEREADERFACTORY_HPP

#endif //GENOGROVE_FILEREADERFACTORY_HPP
3 changes: 3 additions & 0 deletions cli/src/BEDReader.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//
// Created by Richard Albin Schaefer on 11/17/24.
//
4 changes: 2 additions & 2 deletions src/Key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ namespace genogrove {
/**
* @details The default constructor create an empty Key object
*/
Key::Key() : interval(std::string::npos, std::string::npos), data(nullptr),
Key::Key() : interval(std::string::npos, std::string::npos), strand('\0'), data(nullptr),
singleLink(nullptr), multiLink(std::vector<Key*>()) {}
Key::Key(Interval intvl) : interval(intvl), data(nullptr),
Key::Key(Interval intvl) : interval(intvl), strand('\0'), data(nullptr),
singleLink(nullptr), multiLink(std::vector<Key*>()) {}
Key::~Key() {}

Expand Down

0 comments on commit d0dd5e0

Please sign in to comment.