ticket:34 inspired me to go fix more warnings.
<< c.g() << ", "
<< c.b() << ", "
<< c.a() << ")";
+ return out;
}
glEnd();
}
-void GlSequence::draw_track(GLfloat left, GLfloat right) const
+void GlSequence::draw_track(GLfloat , GLfloat ) const
{
glColor3fv(drawColor.get());
// draw main sequence track
draw_box(seq_x, seq_x+seq.size(), seq_height, 0.0);
}
-void GlSequence::draw_annotations(GLfloat left, GLfloat right) const
+void GlSequence::draw_annotations(GLfloat , GLfloat ) const
{
// draw annotations
GLfloat annotation_z = seq_z + 1.0;
void
-NwayPaths::path_search(vector<vector<FLPs> > all_comparisons, ConservedPath path, int depth)
+NwayPaths::path_search(vector<vector<FLPs> > all_comparisons, ConservedPath path, size_t depth)
{
list<int> new_nodes, trans_check_nodes;
list<int>::iterator new_nodes_i, new_nodes_end;
- int i;
bool trans_check_good;
new_nodes = all_comparisons[depth - 1][depth].match_locations(path[depth-1]);
//cout << " * species " << depth << " node: " << *new_nodes_i << endl;
// check transitivity with previous nodes in path
trans_check_good = true;
- for(i = 0; i < depth - 1; i++)
+ for(size_t i = 0; i < depth - 1; i++)
{
trans_check_nodes = all_comparisons[i][depth].match_locations(path[i]);
if ( (trans_check_nodes.end() == find(trans_check_nodes.begin(),
{
fstream save_file;
list<ConservedPath >::iterator path_i, paths_end;
- int i;
+ size_t i;
save_file.open(save_file_path.c_str(), ios::app);
// old recursive transitive nway ... has issues checking all links?
void find_paths_r(std::vector<std::vector<FLPs> > all_comparisons);
- void path_search(std::vector<std::vector<FLPs> > all_comparisons, ConservedPath path, int depth);
+ void path_search(std::vector<std::vector<FLPs> > all_comparisons, ConservedPath path, size_t depth);
void simple_refine();
void save(std::string save_file_path);
{
const vector<Sequence>& raw_sequence = analysis.sequences();
vector<int> aligned_path;
- int i2, i3;
+ size_t i2, i3;
int x_start, x_end;
int window_length, win_i;
int rc_1 = 0;
int rc_2 = 0;
- bool rc_color;
vector<bool> rc_list;
bool full_match;
vector<bool> matched;
if (cur_percent_threshold != percent_threshold)
{
cur_percent_threshold = percent_threshold;
- long t=roundl(basepair_spinner.maximum()*((float)percent_threshold/100.0));
+ long t=lround(basepair_spinner.maximum()*((float)percent_threshold/100.0));
cur_bp_threshold = (int)t;
percent_spinner.setValue(percent_threshold);
basepair_spinner.setValue(cur_bp_threshold);
SequenceSetupFrame::SequenceSetupFrame(QWidget *parent)
: QWidget(parent),
- sequenceLayout(0),
- seqCount(0)//,
- //seqList(0)
+ seqCount(0),
+ sequenceLayout(0)
{
-
// frame
sequenceFrame = new QFrame;
sequenceFrame->setFrameStyle(QFrame::Panel | QFrame::Sunken);