Skip to content

Commit

Permalink
updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
mukundesh committed Mar 20, 2024
1 parent 317682f commit 5adc43c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions import/src/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ def main():
#import/mahcoop2024/export/orgpedia_mahcoop2024
src_stub_dir = Path(f'{src_name}2024') / 'export' / Path(f'orgpedia_{src_name}2024')
src_dir = src_parent_dir / src_stub_dir

export_data(src_dir, tgt_dir)

if src_dir.exists():
export_data(src_dir, tgt_dir)
else:
print(f'src_dir not found: {str(src_dir)}')
return 0

main()
Expand Down

0 comments on commit 5adc43c

Please sign in to comment.