Skip to content

Commit

Permalink
Issue 739: Only export peak groups that are not filtered out.
Browse files Browse the repository at this point in the history
  • Loading branch information
PMSeitzer committed Sep 23, 2024
1 parent b548711 commit d116687
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/maven/tabledockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,10 @@ void TableDockWidget::exportGroupsAsIsotopes() {
foreach(QString h, header) isotopesReport << h.toStdString() << sep.c_str();
isotopesReport << endl;

for (PeakGroup *group : allgroups) {
//Issue 739: respect filters for this export
QList<PeakGroup*> visibleGroups = getGroups();
for (unsigned int i = 0; i < visibleGroups.size(); i++) {
PeakGroup *group = visibleGroups[i];

//Issue 685
if (group->deletedFlag) continue;
Expand Down

0 comments on commit d116687

Please sign in to comment.