<BUG>closePeptideShaker();
} catch (Exception e) {
</BUG>
waitingHandler.appendReport("An error occurred while closing PeptideShaker.", true, true);
<BUG>e.printStackTrace();

}
waitingHandler.appendReport("Follow-up export completed.", true, true);
try {
PeptideShakerCLI.closePeptideShaker(identification);
} catch (Exception e2) {
waitingHandler.appendReport("An error occurred while closing PeptideShaker.", true, true);
e2.printStackTrace();
}</BUG>
System.exit(0); // @TODO: Find other ways of cancelling the process? If not cancelled searchgui will not stop.

if (followUpCLIInputBean.inclusionListNeeded()) {
try {
CLIMethods.exportInclusionList(followUpCLIInputBean, identification, identificationFeaturesGenerator, identificationParameters.getSearchParameters(), waitingHandler, filterPreferences);
} catch (Exception e) {
waitingHandler.appendReport("An error occurred while generating the inclusion list.", true, true);
e.printStackTrace();
waitingHandler.setRunCanceled();
}
}
try {
PeptideShakerCLI.closePeptideShaker(identification);
