Skip to content

Commit

Permalink
change the tiffslide to openslide
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalef committed Oct 18, 2024
1 parent f2996e6 commit 3a6e11e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GANDLF/data/patch_miner/opm/patch_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from tqdm import tqdm
from pathlib import Path
import pandas as pd
import tiffslide
import openslide as tiffslide


class PatchManager:
Expand Down
2 changes: 1 addition & 1 deletion GANDLF/data/patch_miner/opm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# import matplotlib.pyplot as plt
import yaml
import tiffslide
import openslide as tiffslide

# RGB Masking (pen) constants
RGB_RED_CHANNEL = 0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
import sys, re, os
from setuptools import setup, find_packages


try:
with open("README.md") as readme_file:
readme = readme_file.read()
except Exception as error:
readme = "No README information found."
sys.stderr.write("Warning: Could not open '%s' due %s\n" % ("README.md", error))


try:
filepath = "GANDLF/version.py"
version_file = open(filepath)
Expand Down

0 comments on commit 3a6e11e

Please sign in to comment.