Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Commit 
							
							·
						
						abf5a88
	
1
								Parent(s):
							
							1e9865f
								
os.isfile --> os.path.isfile (#12)
Browse files- os.isfile --> os.path.isfile (5b12d1ec95fbe51d25ef7875807960b493df2a46)
Co-authored-by: Margaret Mitchell <[email protected]>
- src/populate.py +1 -1
    	
        src/populate.py
    CHANGED
    
    | @@ -39,7 +39,7 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]: | |
| 39 | 
             
                        all_evals.append(data)
         | 
| 40 | 
             
                    elif ".md" not in entry:
         | 
| 41 | 
             
                        # this is a folder
         | 
| 42 | 
            -
                        sub_entries = [e for e in os.listdir(f"{save_path}/{entry}") if os.isfile(e) and not e.startswith(".")]
         | 
| 43 | 
             
                        for sub_entry in sub_entries:
         | 
| 44 | 
             
                            file_path = os.path.join(save_path, entry, sub_entry)
         | 
| 45 | 
             
                            with open(file_path) as fp:
         | 
|  | |
| 39 | 
             
                        all_evals.append(data)
         | 
| 40 | 
             
                    elif ".md" not in entry:
         | 
| 41 | 
             
                        # this is a folder
         | 
| 42 | 
            +
                        sub_entries = [e for e in os.listdir(f"{save_path}/{entry}") if os.path.isfile(e) and not e.startswith(".")]
         | 
| 43 | 
             
                        for sub_entry in sub_entries:
         | 
| 44 | 
             
                            file_path = os.path.join(save_path, entry, sub_entry)
         | 
| 45 | 
             
                            with open(file_path) as fp:
         | 

 
		