Skip to content

patch names inconsistency #14

@revoltek

Description

@revoltek
lsm.setPatchPositions(method='wmean') # calculate patch weighted centre for tassellation
patches = lsm.getPatchNames()

lsm.group('facet', facet=mask, root='Dir')
lsm.setPatchPositions(method='mid') # recalculate the patch centre as mid point for imaging
directions = lsm.getPatchPositions()

in these two cases the names in the "patches" variable and the keys in "directions" have different names when more than 10 patches are created. The first has e.g. Dir_1 and the second Dir_01. The best would be to have consistency with naming patches across the code (maybe always without leading 0s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions