ProgramComputer commited on
Commit
34e7466
·
1 Parent(s): eec3289

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -2
test.py CHANGED
@@ -303,9 +303,8 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
303
  #raise Exception([x for x in Path(path).glob('**/*')])
304
  #raise Exception(paths)
305
  subdirs = [x[0] for x in os.walk(path)]
306
- os.chdir(path)
307
 
308
- raise Exception(os.getcwd())
309
  #raise Exception(os.listdir(path))
310
  dataset_path = next(Path(path).iterdir())
311
  #dataset_format = dataset_path.name
 
303
  #raise Exception([x for x in Path(path).glob('**/*')])
304
  #raise Exception(paths)
305
  subdirs = [x[0] for x in os.walk(path)]
 
306
 
307
+ raise Exception(os.is_symlink(path))
308
  #raise Exception(os.listdir(path))
309
  dataset_path = next(Path(path).iterdir())
310
  #dataset_format = dataset_path.name