thbndi commited on
Commit
7351dbd
·
1 Parent(s): 93c7bb1

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -1
Mimic4Dataset.py CHANGED
@@ -140,7 +140,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
140
 
141
  #clone git repo if doesnt exists
142
  repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
143
- if os.path.exists(os.path.dirname(os.path.abspath('MIMIC-IV-Data-Pipeline-main'))):
144
  path_bench = os.path.dirname(os.path.abspath('MIMIC-IV-Data-Pipeline-main'))+'/MIMIC-IV-Data-Pipeline-main'
145
  else:
146
  repodir = os.getcwd()
 
140
 
141
  #clone git repo if doesnt exists
142
  repo_url='https://github.com/healthylaife/MIMIC-IV-Data-Pipeline'
143
+ if os.path.exists('MIMIC-IV-Data-Pipeline-main'):
144
  path_bench = os.path.dirname(os.path.abspath('MIMIC-IV-Data-Pipeline-main'))+'/MIMIC-IV-Data-Pipeline-main'
145
  else:
146
  repodir = os.getcwd()