Skip to content

Commit

Permalink
I'm a debil who forgot to add else ifs for ligands
Browse files Browse the repository at this point in the history
  • Loading branch information
GABRAH committed Sep 27, 2021
1 parent fb6ef6b commit 05b96ae
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/privateer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,11 @@ int main(int argc, char** argv)
ligandList[index].second.set_context ( "s-glycan" );
fprintf ( output, "\t(s) " );
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
fprintf ( output, "\t(l) " );
}
found_in_tree = true;
break;
}
Expand Down Expand Up @@ -915,6 +920,11 @@ int main(int argc, char** argv)
ligandList[index].second.set_context ( "s-glycan" );
std::cout << "\t(s) ";
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
std::cout << "\t(l) ";
}
found_in_tree = true;
break;
}
Expand Down Expand Up @@ -2000,6 +2010,10 @@ int main(int argc, char** argv)
{
ligandList[index].second.set_context ( "s-glycan" );
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
}
found_in_tree = true;
break;
}
Expand Down Expand Up @@ -2124,6 +2138,10 @@ int main(int argc, char** argv)
{
ligandList[index].second.set_context ( "s-glycan" );
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
}
found_in_tree = true;
break;
}
Expand Down Expand Up @@ -2689,6 +2707,10 @@ int main(int argc, char** argv)
{
ligandList[index].second.set_context ( "s-glycan" );
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
}
found_in_tree = true;
break;
}
Expand Down Expand Up @@ -2817,6 +2839,10 @@ int main(int argc, char** argv)
{
ligandList[index].second.set_context ( "s-glycan" );
}
else if ( list_of_glycans[i].get_type() == "ligand" )
{
ligandList[index].second.set_context ( "ligand" );
}
found_in_tree = true;
break;
}
Expand Down

0 comments on commit 05b96ae

Please sign in to comment.