-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Summary and expected behavior
Code for reproduction (using python script or command line interface)
Can't do it with code at the moment ... was following your guide for phase from brightfield
Screenshots or steps for reproduction (using napari GUI)
Include relevant logs which are created next to the output dir, name of the dataset, yaml file(s) if encountering reconstruction errors.
11:46:35 : INFO : Dummy-10 : Running Acquisition...
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
File ~\dev\waveorder\waveorder\plugin\main_widget.py:674, in MainWidget._handle_acq_error(self=<waveorder.plugin.main_widget.MainWidget object>, exc=TypeError("TIFFConverter.__init__() got an
unexpected keyword argument 'data_type'"))
673 def _handle_acq_error(self, exc):
--> 674 raise exc
exc = TypeError("TIFFConverter.__init__() got an unexpected keyword argument 'data_type'")
File c:\Users\Admin\dev\waveorder\.venv\Lib\site-packages\superqt\utils\_qthreading.py:175, in WorkerBase.run(self=<waveorder.acq.acquisition_workers.BFAcquisitionWorker object>)
173 warnings.filterwarnings("always")
174 warnings.showwarning = lambda *w: self.warned.emit(w)
--> 175 result = self.work()
self = <waveorder.acq.acquisition_workers.BFAcquisitionWorker object at 0x0000022D91253250> 176 if isinstance(result, Exception):
177 if isinstance(result, RuntimeError):
178 # The Worker object has likely been deleted.
179 # A deleted wrapped C/C++ object may result in a runtime
180 # error that will cause segfault if we try to do much other
181 # than simply notify the user.
File ~\dev\waveorder\waveorder\acq\acquisition_workers.py:270, in BFAcquisitionWorker.work(self=<waveorder.acq.acquisition_workers.BFAcquisitionWorker object>)
267 self._check_abort()
269 # Cleanup acquisition by closing window, converting to zarr, and deleting temp directory
--> 270 self._cleanup_acq()
self = <waveorder.acq.acquisition_workers.BFAcquisitionWorker object at 0x0000022D91253250> 272 # Reconstruct snapped images
273 self.n_slices = stack.shape[2]
File ~\dev\waveorder\waveorder\acq\acquisition_workers.py:352, in BFAcquisitionWorker._cleanup_acq(self=<waveorder.acq.acquisition_workers.BFAcquisitionWorker object>)
350 try:
351 self.latest_out_path = self.snap_dir / "raw_data.zarr"
--> 352 converter = TIFFConverter(
dir_ = 'C:\\Users\\Admin\\Desktop\\New Folder\\snap_1'
prefix = 'snap_1'
self = <waveorder.acq.acquisition_workers.BFAcquisitionWorker object at 0x0000022D91253250>
self.latest_out_path = WindowsPath('C:/Users/Admin/Desktop/New Folder/snap_1/raw_data.zarr') 353 str(Path(dir_) / prefix),
354 str(self.latest_out_path),
355 data_type="ometiff",
356 grid_layout=False,
357 )
358 converter.run()
359 shutil.rmtree(Path(dir_) / prefix)
TypeError: TIFFConverter.__init__() got an unexpected keyword argument 'data_type'
Environment:
Operating system: windows
Python version: 3.12
Python environment (command line, IDE, Jupyter notebook, etc):
Micro-Manager/pycromanager version:
iohub 0.2.2
waveorder sha 96872f5
pycromanager 0.27.2
Metadata
Metadata
Assignees
Labels
No labels