Skip to content

Commit 32b805f

Browse files
committed
remove one more print statement
1 parent 3c32c24 commit 32b805f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sparcscore/ml/datasets.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def __init__(self,
225225

226226
self.handle_list = []
227227
self.data_locator = []
228-
228+
229229
# scan all directories in dir_list
230230
for i, directory in enumerate(dir_list):
231231
path = os.path.join(self.root_dir, directory) # get full path
@@ -262,9 +262,6 @@ def add_hdf_to_index(self, path, target_col):
262262
return
263263

264264
def scan_directory(self, path, target_col, levels_left):
265-
266-
print(f"Scanning directory {path}...")
267-
268265
if levels_left > 0: # iterate over all files and folders in a directory if levels_left > 0
269266
current_level_directories = [os.path.join(path, name) for name in os.listdir(path) if os.path.isdir(os.path.join(path, name))] # get directories
270267
current_level_files = [ name for name in os.listdir(path) if os.path.isfile(os.path.join(path, name))] # get files

0 commit comments

Comments
 (0)