Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprint assorted #87

Merged
merged 8 commits into from
Feb 4, 2021
Merged

Sprint assorted #87

merged 8 commits into from
Feb 4, 2021

Conversation

ryanccarelli
Copy link
Contributor

Assorted changes to tiles, masks, h5managers, and improving testing.

Copy link
Collaborator

@jacob-rosenthal jacob-rosenthal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work ✨💫

pathml/core/h5managers.py Outdated Show resolved Hide resolved
pathml/core/h5managers.py Show resolved Hide resolved
yield key, val
for key in self.h5.keys():
name, tile, maskdict, labels, coords, slidetype = self.get(key)
yield name, tile, maskdict, labels, coords, slidetype
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just have a general purpose generator over tiles? Move slice logic up a level?

pathml/core/h5managers.py Show resolved Hide resolved
pathml/core/tiles.py Outdated Show resolved Hide resolved
self._tiles = OrderedDict(tiledictionary)
else:
self._tiles = OrderedDict()
# move Tiles to .h5
self.h5manager = _tiles_h5_manager()
for key in self._tiles:
self.h5manager.add(key, self._tiles[key])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for key, tile in _tiles.items()

pathml/core/tiles.py Show resolved Hide resolved
pathml/core/tiles.py Outdated Show resolved Hide resolved
@ryanccarelli ryanccarelli merged commit 1ebf3db into sprint Feb 4, 2021
@ryanccarelli ryanccarelli deleted the sprint-assorted branch February 4, 2021 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants