Comments (2)
@oeway This is a good point. The problem is that TaggedImage
is a Java type, and one that we would like to phase out in the long term due to multiple issues (it exposes public data fields (bad in Java unlike in Python), and uses an antiquated version of JSONObject
as part of its API).
(Also, much of the logic for putting together a TaggedImage
is in MMCoreJ.i
, rather than the common MMCore code.)
It would be nice to have something similar in Python, though. If adding such a thing, it would be good to learn also from a few more design mistakes that TaggedImage
made: it puts metadata from different sources into a single bag, and string-concatenates device and property names with "-"
, so that unambiguous parsing is not possible.
from pymmcore.
fwiw, this was added to pymmcore-plus in pymmcore-plus/pymmcore-plus#246
it would be good to learn also from a few more design mistakes that TaggedImage made: it puts metadata from different sources into a single bag, and string-concatenates device and property names with "-", so that unambiguous parsing is not possible.
I very much agree with this. I implemented it as a match for now. but would love to see a better/formal spec for what those tags should actually be. this relates also to AcqEngJ, which continues with the pattern
from pymmcore.
Related Issues (20)
- Failure to load Raptor EPIX device HOT 11
- loading NikonTi2 dll HOT 2
- accept type stubs? HOT 3
- abort crash in pymmcore.Configuration.getSetting on missing key HOT 1
- callback system crashing kernel with subclassed `MMEventCallback` HOT 7
- export `__version__` in `__init__`
- Unable to Use Pymmcore in Windows 10 64 bit, Anaconda 32 bit HOT 14
- How to control c++ std locally? HOT 1
- 'CMMCore' object has no attribute 'getXYStagePosition' HOT 1
- Failing control of MCL_MicroDrive device HOT 2
- Error loading device adapter with pymmcore but not micromanager HOT 2
- Issue with error handling in `setSLMImage` HOT 3
- getMultiROI appears broken in pymmcore swig HOT 2
- Handling assertion errors in MMCore HOT 9
- `threads="1"` breaks `mmc.setSLMImage` HOT 22
- Hard crash with `waitForConfig()` timeout HOT 3
- Switch to src-layout HOT 1
- Heads up on incompatibility with upcoming numpy 2.0 release
- Unable to connect NikonTi microscope (Windows fatal exception: access violation) HOT 7
- pymmcore.CMMCore 11.1.1.71.1 not playing nicely with PyQt5 on Windows 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 pymmcore.