<commit_before>/**
  DTI Atlas Fiber Analyser

  Command Line : ./DTIAtlasFiberAnalyser --nogui --datafile "datafilename" --analysisfile "analysisfilename"


  Gui window : ./DTIAtlasFiberAnalyser
**/

#include "DTIAtlasFiberAnalyzerCLP.h"
#include "GlobalFunction.h"
#include <QApplication>


int main(int argc, char *argv[])
{
	PARSE_ARGS;
	
	if(!nogui)
	{
		if(debug)
			std::cout<<"DTI Atlas Fiber Analyser WITH GUI"<<std::endl;
		QApplication app(argc, argv);
		/* Set and show the window */
		DTIAtlasFiberAnalyzerguiwindow DTIAFAwindow(debug);
		DTIAFAwindow.show();
		return app.exec();
	}
	else
	{
		if(debug)
			std::cout<<"DTI Atlas Fiber Analyser WITHOUT GUI"<<std::endl;
		
		if(!CommandLine(loadCSV, datafile, analysisfile, debug))
			std::cout<<"Stop DTIAtlasFiberAnalyzer ..."<<std::endl;
		
		return 0;
	}
	
	if(debug)
		std::cout<<"END OF DTI Atlas Fiber Analyser"<<std::endl;
}
<commit_msg>BUG: rpath on Mac and main window appearing under Slicer window<commit_after>/**
  DTI Atlas Fiber Analyser

  Command Line : ./DTIAtlasFiberAnalyser --nogui --datafile "datafilename" --analysisfile "analysisfilename"


  Gui window : ./DTIAtlasFiberAnalyser
**/

#include "DTIAtlasFiberAnalyzerCLP.h"
#include "GlobalFunction.h"
#include <QApplication>


int main(int argc, char *argv[])
{
	PARSE_ARGS;
	
	if(!nogui)
	{
		if(debug)
			std::cout<<"DTI Atlas Fiber Analyser WITH GUI"<<std::endl;
		QApplication app(argc, argv);
		/* Set and show the window */
		DTIAtlasFiberAnalyzerguiwindow DTIAFAwindow(debug);
		DTIAFAwindow.show();
        DTIAFAwindow.raise();
		return app.exec();
	}
	else
	{
		if(debug)
			std::cout<<"DTI Atlas Fiber Analyser WITHOUT GUI"<<std::endl;
		
		if(!CommandLine(loadCSV, datafile, analysisfile, debug))
			std::cout<<"Stop DTIAtlasFiberAnalyzer ..."<<std::endl;
		
		return 0;
	}
	
	if(debug)
		std::cout<<"END OF DTI Atlas Fiber Analyser"<<std::endl;
}

{'fraction_non_alphanumeric': 0.142781875658588, 'fraction_numerical': 0.001053740779768177, 'mean_word_length': 4.441260744985673, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5934329', 'n_tokens_mistral': 773, 'n_tokens_neox': 695, 'n_words': 157}