Skip to content

Commit

Permalink
only write new geodb if one provided
Browse files Browse the repository at this point in the history
  • Loading branch information
tkchafin committed May 15, 2024
1 parent f49bf9e commit 69e761d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/runResistnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def main():
)

# write new output geodatabase
network.write_geodataframe(params.out, params.output_driver)
if params.shapefile:
network.write_geodataframe(params.out, params.output_driver)

# Step 2: Initialise ModelRunner
runner = ModelRunner(
Expand Down

0 comments on commit 69e761d

Please sign in to comment.