Skip to content

Commit

Permalink
exclude external zones when filtering unconnected dummy hhlds
Browse files Browse the repository at this point in the history
  • Loading branch information
FlaviaTsang committed Nov 12, 2020
1 parent 0cc5ec7 commit 58ae3e9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

print("Found {} unconnected zone(s) in {}".format(len(unconnected_zones), unconnected_zones_file))

# exclude external zones
unconnected_zones[:] = [x for x in unconnected_zones if x <= 1454]
print("Found {} unconnected zone(s) in {} after excluding external zones".format(len(unconnected_zones), unconnected_zones_file))

# nothing to do -- just copy the files
if len(unconnected_zones)==0:
print("No filtering to do -- copying files")
Expand Down

0 comments on commit 58ae3e9

Please sign in to comment.