Gabriel Selzer
Gabriel Selzer
> Just did a quick test over at napari using this PR; I get a lot of: > > ```python > AttributeError: 'NoneType' object has no attribute 'handled' > ```...
> `_vispy_mouse_move` will return `None` when it is within 10ms of the last event, I think: > > https://github.com/vispy/vispy/blob/dad688355f2c21c34cd04e4f639a326fe3c4ac1b/vispy/app/base.py#L199-L200 Oh man, how did I miss that - thanks @aganders3! In...
> I'm a bit confused about all the different uses of "is None" vs "is not None" and different logic with "and" and "or"... Why are all these cases handled...
Nope, also happens locally (Windows 10, Powershell). Reproducible using: 1. On the main branch of napari-imagej, run `mamba env create -f dev-envrionment.yml` 2. `mamba install -c conda-forge xarray==2024.11.0` 3. `mamba...
Alright, I've dug into the problem, and understand things well now. * The failing test, ` tests/widgets/test_menu.py::test_modification_in_imagej`, throws a napari layer over into ImageJ, modifies it, and then throws it...
> ``` python > import imagej > > ij = imagej.init(mode='interactive') > data = ij.io().open('/pyimagej/doc/sample-data/test_image.tif') > ij.ui().show(data) > xarr = ij.py.from_java(data) > print(data.getName()) > print(type(xarr)) > ``` I'm not sure...
This is in fact an issue with imagej-ops: see [here](https://github.com/imagej/imagej-ops/blob/ad6a2f4ddba2fe4f2051db74be898e3e32714e1c/src/main/java/net/imagej/ops/filter/dog/DefaultDoG.java#L55), where the input and output images must be the same type. Of course, this is *really* an issue in the...
For what it's worth, I like `mmc` - it's the shortest of the three, and it's closest to an acronym.
> And all state or just some state? For example, do we necessarily move the stage back to where it was to begin with? Well there's only so much state...
@elevans was thinking about just fixing this, but I'd want to write a test - where do you think it should live?