Skip to content

Wrong total number of tiles in seed protocol #14

Description

@seidlmic

The line #101 in Client.py

ztiles = int(math.ceil(float(topright[1] - bottomleft[1]) / metaSize[0]) * math.ceil(float(topright[0] - bottomleft[0]) / metaSize[1]))

Does not eqaules

ztiles = len(range(startY, endY, stepY))*len(range(startX, endX, stepX))

Which is actualy correct number of ztiles as shows code on line #118 This produce buggy protocol that ends with

06 (000019, 000008) = (14.5464 50.0942 14.5472 50.0950) [0.1321s : 3.546/s] 180/152

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions