Skip to content

Commit

Permalink
generate sites
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath2 committed Oct 16, 2024
1 parent 0ff9c30 commit 777b7eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geoEpic/sites/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
with open(f"{prefix}/template.sit", 'r') as f:
template = f.readlines()


out_dir = os.makedirs(out_dir, exist_ok=True)
def write_site(row):
with open(os.path.join(out_dir, f"{int(row['SiteID'])}.SIT"), 'w') as f:
# Modify the template lines
Expand Down

0 comments on commit 777b7eb

Please sign in to comment.