File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11[project ]
22name  = " szcore-evaluation" 
3- version  = " 0.0.4 " 
3+ version  = " 0.0.5 " 
44description  = " Compare szCORE compliant annotations of EEG datasets of people with epilelpsy." 
55authors  = [
66    { name  = " Jonathan Dan"  , email  = " jonathan.dan@epfl.ch"   }
Original file line number Diff line number Diff line change 1+ if  __name__  ==  "__main__" :
2+     import  argparse 
3+     from  szcore_evaluation .evaluate  import  evaluate_dataset 
4+ 
5+     parser  =  argparse .ArgumentParser (
6+         description = "Compare szCORE compliant annotations of EEG datasets of people with epilelpsy." 
7+     )
8+     parser .add_argument ("ref" , help = "Path to the folder containing the reference TSV files." )
9+     parser .add_argument ("hyp" , help = "Path to the folder containing the hypothesis TSV files." )
10+     parser .add_argument ("output" , help = "Path to the output JSON file where the results are saved." )
11+ 
12+     args  =  parser .parse_args ()
13+     evaluate_dataset (args .ref , args .hyp , args .output )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments