Skip to content

Commit

Permalink
Merge pull request #614 from imgag/processing_system_error
Browse files Browse the repository at this point in the history
Hide error message when processing system regions are missing
  • Loading branch information
ubuntolog authored Jan 13, 2025
2 parents 5831b4d + 7eded57 commit 7462907
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/GSvar/ProcessingSystemWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,17 @@ void ProcessingSystemWidget::updateGUI()
//###target region infos###
try
{
BedFile roi = GlobalServiceProvider::database().processingSystemRegions(sys_id_, false);
BedFile roi = GlobalServiceProvider::database().processingSystemRegions(sys_id_, true);
if (!roi.isEmpty())
{
ui_.roi_bases->setText(QString::number(roi.baseCount(), 'f', 0));
ui_.roi_regions->setText(QString::number(roi.count(), 'f', 0));
}
else
{
ui_.roi_bases->setText("n/a");
ui_.roi_regions->setText("n/a");
}
}
catch (Exception& e)
{
Expand Down

0 comments on commit 7462907

Please sign in to comment.