Skip to content

Commit

Permalink
bug fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
DeshanPerera committed Oct 14, 2024
1 parent 54d594a commit c3601e6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
23 changes: 21 additions & 2 deletions cancer_Host.cu
Original file line number Diff line number Diff line change
Expand Up @@ -3213,7 +3213,15 @@ vector<pair<int, int>> cancer_Host::compile_Progeny(functions_library &functions
{
sequence.append(to_string(progeny_Sequences[progeny_Index][base]));
}
to_write_Sequence_Store_NEXT_Gen.push_back(make_pair(to_string(last_index_Seq_Written) + survival_Status + to_string(progeny_Configuration_Cancer[progeny_Index][2]) + "_" + to_string(progeny_Configuration_Cancer[progeny_Index][1]) + "_" + to_string(progeny_Elapsed[progeny_Index]) + "_" + to_string(progeny_Configuration_Cancer[progeny_Index][0]) + "_" + to_string(progeny_Configuration_Cancer[progeny_Index][3]) + "_" + to_string(progeny_Configuration_Cancer[progeny_Index][4]), sequence));
to_write_Sequence_Store_NEXT_Gen.push_back(make_pair(to_string(last_index_Seq_Written) +
survival_Status +
to_string(progeny_Configuration_Cancer[progeny_Index][2]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][1]) +
"_" + to_string(progeny_Elapsed[progeny_Index]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][0]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][3]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][4]),
sequence));

if (viral_Migration == "YES")
{
Expand Down Expand Up @@ -3314,7 +3322,18 @@ vector<pair<int, int>> cancer_Host::compile_Progeny(functions_library &functions
{
sequence.append(to_string(progeny_Sequences[progeny_Index][base]));
}
to_write_Sequence_Store_NEXT_Gen.push_back(make_pair(to_string(last_index_Seq_Written) + survival_Status + to_string(progeny_Configuration_Cancer[progeny_Index][2]) + "_" + to_string(progeny_Configuration_Cancer[progeny_Index][1]) + "_" + to_string(progeny_Elapsed[progeny_Index] - 1), sequence));
to_write_Sequence_Store_NEXT_Gen.push_back(make_pair(to_string(last_index_Seq_Written) +
survival_Status +
to_string(progeny_Configuration_Cancer[progeny_Index][2]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][1]) +
"_" + to_string(progeny_Elapsed[progeny_Index] - 1) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][0]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][3]) +
"_" + to_string(progeny_Configuration_Cancer[progeny_Index][4]),
sequence));

// cout << to_write_Sequence_Store_NEXT_Gen[to_write_Sequence_Store_NEXT_Gen.size() - 1].first << endl;
// exit(-1);

if (viral_Migration == "YES")
{
Expand Down
Binary file modified main
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
,1
A,1
T,0.3
A,0.3
T,1
G,1
C,1

0 comments on commit c3601e6

Please sign in to comment.