qCol = qColumns.get(0);
} else if (!Globals.isHeadless()) {
// Let user choose the signal column
Collections.sort(qColumns);
MagetabSignalDialog msDialog = new MagetabSignalDialog(IGV.getMainFrame(), qColumns.toArray(new String[0]));
msDialog.setVisible(true);
if (!msDialog.isCanceled()) {
qCol = msDialog.getQuantitationColumn();
} else {
throw new RuntimeException("Could not find any signal columns in the MAGE-TAB file");
}
}
return qCol;