diff --git a/src/roiextractors/extractors/bioformatsimagingextractors/cxdimagingextractor.py b/src/roiextractors/extractors/bioformatsimagingextractors/cxdimagingextractor.py index dc4971a3..1f98bafd 100644 --- a/src/roiextractors/extractors/bioformatsimagingextractors/cxdimagingextractor.py +++ b/src/roiextractors/extractors/bioformatsimagingextractors/cxdimagingextractor.py @@ -101,10 +101,6 @@ def __init__( """ from .bioformats_utils import extract_ome_metadata, parse_ome_metadata - if "JAVA_HOME" not in os.environ: - conda_home = os.environ.get("CONDA_PREFIX") - os.environ["JAVA_HOME"] = conda_home - if ".cxd" not in Path(file_path).suffixes: raise ValueError("The file suffix must be .cxd!")