Merge pull request #391 from mcmasterg/assert_len_fix

segmaker: remove duplicate len
This commit is contained in:
John Mcmaster 2018-12-22 00:31:53 -08:00 committed by GitHub
commit f8d390cb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ class Segmaker:
print("Used %u sites" % len(sites_used))
print("Grid DB had %u tile types" % len(tile_types_found))
assert ntags == len(tags_used), "Unused tags, %s used out of %s" % (
len(len(tags_used)), ntags)
len(tags_used), ntags)
def write(self, suffix=None, roi=False, allow_empty=False):
assert self.segments_by_type, 'No data to write'