Skip to content

Commit

Permalink
[#212] Make random-points.csv mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
wayangalihpratama committed Oct 4, 2022
1 parent aaf05f6 commit 6893967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/seeder/fake_datapoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
sample_geo = sample_geo.to_dict('records')
else:
print(f"{random_point_file} is required")
sys.exit()

with open(source_geo, 'r') as geo:
geo = json.load(geo)
ob = geo["objects"]
Expand Down

0 comments on commit 6893967

Please sign in to comment.