marksgraham / OCT-Converter

Tools for extracting the raw optical coherence tomography (OCT) and fundus data from proprietary file formats.
https://pypi.org/project/oct-converter/
MIT License
199 stars 72 forks source link

No module named 'oct_converter.readers.zeissdcm' #63

Closed alanwilter closed 2 years ago

alanwilter commented 2 years ago

Why this now in 0.3.0?

In [1]: from oct_converter.readers import E2E
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 from oct_converter.readers import E2E

File ~/.virtualenvs/peye2/lib/python3.8/site-packages/oct_converter/readers/__init__.py:8, in <module>
      6 from .img import IMG
      7 from .poct import POCT
----> 8 from .zeissdcm import ZEISSDICOM

ModuleNotFoundError: No module named 'oct_converter.readers.zeissdcm'
marksgraham commented 2 years ago

Oops - can you install v0.3.2 and try again?

marksgraham commented 2 years ago

This is still broken, bear with me..

marksgraham commented 2 years ago

OK, could you let me know if v0.3.5 works? Looks like i had completely broken the build on v0.3

alanwilter commented 2 years ago

It's working! thanks! v. 0.3.5, commit 46d6103

ilannotal commented 11 months ago

i have problem on lines 30-33 of zeissdcm.py. a=np.array(ds[0x0407, 0x10a0][0][0x0407, 0x1005][0][0x0407, 0x1006].value,dtype=np.uint16) b = np.volume = np.frombuffer( a.read(105526), dtype=np.uint8 )

the first line does not work and i do not understand the a.read(105526) if a is numpy array.

thanks for your help.

marksgraham commented 11 months ago

Hi,

The zeissdicom reader has been removed and is no longer supported, I'm afraid.