Skip to content

Commit

Permalink
BamExtract: Fixed nightly test
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-sturm committed Dec 7, 2023
1 parent f92d2aa commit 091748c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/GSvar/IGVSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ bool IGVSession::isIgvRunning()
commands << IgvWorkerCommand{-1, "echo running"};

//start command
IGVCommandWorker* command_worker = new IGVCommandWorker(igv_data_, commands, 1500);
IGVCommandWorker* command_worker = new IGVCommandWorker(igv_data_, commands, 2000);
command_worker->setAutoDelete(false);
execution_pool_.start(command_worker);

Expand Down
2 changes: 1 addition & 1 deletion src/GSvar/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6171,7 +6171,7 @@ void MainWindow::on_actionSampleAncestry_triggered()

void MainWindow::on_actionAnalysisStatus_triggered()
{
TabType type = TabType::ANANLYSIS_STATUS;
TabType type = TabType::ANALYSIS_STATUS;
if (focusTab(type, "Analysis status")) return;

//open new
Expand Down
2 changes: 1 addition & 1 deletion src/GSvar/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum class TabType
GENE = 5,
VARIANT = 6,
SAMPLE_SEARCH = 101,
ANANLYSIS_STATUS = 102
ANALYSIS_STATUS = 102
};

///Main window class
Expand Down
4 changes: 2 additions & 2 deletions src/tools-TEST/BamExtract_Test.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ private slots:
if (ref_file=="") SKIP("Test needs the reference genome!");

EXECUTE("BamExtract", "-in " + TESTDATA("../cppNGS-TEST/data_in/panel.bam") + " -ids " + TESTDATA("data_in/BamExtract_ids.txt") + " -out out/BamExtract_out1.bam -out2 out/BamExtract_out2.bam");
COMPARE_GZ_FILES("out/BamExtract_out1.bam", TESTDATA("data_out/BamExtract_out1.bam"));
IS_TRUE(QFile::exists("out/BamExtract_out2.bam"));
COMPARE_FILES("out/BamExtract_out1.bam", TESTDATA("data_out/BamExtract_out1.bam"));
COMPARE_FILES("out/BamExtract_Test_line11.log", TESTDATA("data_out/BamCleanHaloplex_out1.log"));
COMPARE_FILES("out/BamExtract_Test_line14.log", TESTDATA("data_out/BamExtract_out1.log"));
}

};
Expand Down

0 comments on commit 091748c

Please sign in to comment.