Skip to content

Commit

Permalink
add directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Apr 8, 2024
1 parent 849b938 commit eb6db61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CanDI/setup/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ def format_depmap_data(self, df, path):


def download_reformatted_data(self, depmap_release=''):
if not os.path.exists(self.manager_path + '/data/'):
os.makedirs(self.manager_path + '/data/')

if not os.path.exists(self.manager_path + '/data/depmap/'):
os.makedirs(self.manager_path + '/data/depmap/')

if self.download_source == "dataverse":
urls, file_names = depmap_dataverse_download(
self.manager_path + '/data/depmap/',
Expand Down

0 comments on commit eb6db61

Please sign in to comment.