Skip to content

Commit

Permalink
paquo: fix example 4 and 5 add_image arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Aug 20, 2020
1 parent 9a59f22 commit aa03b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/example_04_project_with_image_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

for image_fn, metadata in METADATA.items():
entry = qp.add_image(
filename=EXAMPLE_IMAGE_DIR / image_fn,
EXAMPLE_IMAGE_DIR / image_fn,
image_type=QuPathImageType.BRIGHTFIELD_H_E
)
# entry.metadata is a dict-like proxy:
Expand Down
2 changes: 1 addition & 1 deletion examples/example_05_draw_tiles_on_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def iterate_grid(width, height, grid_size) -> Iterator[Tuple[int, int]]:
print("created", qp.name)
# add an image
entry = qp.add_image(
filename=EXAMPLE_IMAGE,
EXAMPLE_IMAGE,
image_type=QuPathImageType.BRIGHTFIELD_H_E
)

Expand Down

0 comments on commit aa03b87

Please sign in to comment.