<commit_before>#include <iostream>

#include "computeMeanCLP.h"
#include "computeMean.hxx"
#include "fileIO.hxx"

#include <iterator>
#include <dirent.h>

#ifndef WIN32
    #include <sys/types.h>
#endif

// Declaration of getListFile()
void getListFile(std::string path, std::vector<std::string> &list, const std::string &suffix);

int main(int argc, char** argv)
{
    PARSE_ARGS;

    vtkSmartPointer<ComputeMean> Filter = vtkSmartPointer<ComputeMean>::New();

    if(argc < 3)
    {
        std::cout << "Usage " << argv[0] << " [--inputList <std::vector<std::string>>] [--outputSurface <std::string>] " << std::endl;
        return 1;
    }

    // Check input dir & Get shapes list
    std::vector<std::string> listShapes;
    listShapes = inputList;  
    for (int i = 0; i< inputList.size(); i ++)
        std::cout<<inputList[i]<<std::endl;
        
    // Check output file
    if(outputSurface.rfind(".vtk")==std::string::npos || outputSurface.empty())<commit_msg>BUG: Fix include on Windows<commit_after>#include <iostream>

#include "computeMeanCLP.h"
#include "computeMean.hxx"
#include "fileIO.hxx"

#include <iterator>


#ifndef WIN32
    #include <sys/types.h>
#else 
    #include <dirent.h>
#endif


// Declaration of getListFile()
void getListFile(std::string path, std::vector<std::string> &list, const std::string &suffix);

int main(int argc, char** argv)
{
    PARSE_ARGS;

    vtkSmartPointer<ComputeMean> Filter = vtkSmartPointer<ComputeMean>::New();

    if(argc < 3)
    {
        std::cout << "Usage " << argv[0] << " [--inputList <std::vector<std::string>>] [--outputSurface <std::string>] " << std::endl;
        return 1;
    }

    // Check input dir & Get shapes list
    std::vector<std::string> listShapes;
    listShapes = inputList;  
    for (int i = 0; i< inputList.size(); i ++)
        std::cout<<inputList[i]<<std::endl;
        
    // Check output file
    if(outputSurface.rfind(".vtk")==std::string::npos || outputSurface.empty())
{'fraction_non_alphanumeric': 0.17316455696202532, 'fraction_numerical': 0.0060759493670886075, 'mean_word_length': 3.738609112709832, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 25, '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': '420814', 'n_tokens_mistral': 705, 'n_tokens_neox': 675, 'n_words': 148}