Comments (4)
Hi @ianhi, yep I just did!
As I said it's super small, but on my machine I can now use the live mode.
from napari-micromanager.
It's true, I was about to post an issue about that but I noticed this post, and I actually found a quick fix:
When I tried to use the Live mode, I had the error
TypeError Traceback (most recent call last)
File ...\napari-micromanager\micromanager_gui\main_window.py:217, in MainWindow._start_live(self=<micromanager_gui.main_window.MainWindow object>)
215 self.streaming_timer = QTimer()
216 self.streaming_timer.timeout.connect(self.update_viewer)
--> 217 self.streaming_timer.start(self._mmc.getExposure())
self.streaming_timer = None
self = <micromanager_gui.main_window.MainWindow object at 0x000001372664B910>
self._mmc = <CMMCorePlus at 0x13726666de0>
TypeError: arguments did not match any overloaded call:
start(self, int): argument 1 has unexpected type 'float'
start(self): too many arguments
so in main_window.py
line 217 I changed self.streaming_timer.start(self._mmc.getExposure())
to self.streaming_timer.start(int(self._mmc.getExposure())))
, and now the Live mode works :-)
from napari-micromanager.
@AlexCoul would you like to open a PR with your fix :) ?
from napari-micromanager.
fixed in #181
from napari-micromanager.
Related Issues (20)
- temp zarr file for MDA can overwhelm space on hard drive HOT 3
- Allow taking config file as command line argument
- ENH: Auto populate the napari terminal with `mmc`
- toolbar and mda window loads too wide
- Performance: Extra thread to do `io` during MDA HOT 1
- Bug: More issues with `event_filter` HOT 11
- bug: mda widget broken on latest pymmcore-widgets HOT 1
- When loading two different cfg one after another MMShuttersWidget gives an error
- AttributeError: 'QDropEvent' object has no attribute 'pos'
- napari-micromanager crashing napari on python 3.11 HOT 9
- AttributeError: 'method-wrapper' object has no attribute '__module__' HOT 2
- Embedding live image to QT window HOT 2
- Error with Nikon Ti HOT 16
- Feature request - Add "Keep shutter open" option for z-stack HOT 3
- Couldn't open MDA, issue with MDA QWidget HOT 8
- question regarding "on-the-fly" processing HOT 3
- MDA not working when using 12 bit images (Photometric Kinetix in Sensitivity mode). HOT 6
- How to connect to ASI Stage on Linux HOT 3
- Hardware autofocus implementation HOT 4
- question: in napari Python console, how can I (programmatically) stream the newly acquired images to the viewer? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napari-micromanager.