Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Remove IPFS daemon from CI setup #82

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

thewtex
Copy link
Contributor

@thewtex thewtex commented Oct 11, 2023

No longer needed since we are now using HTTP gateways to fetch the test data.

No longer needed since we are now using HTTP gateways to fetch the test
data.
Addresses:

```
axis_units = { d:str(getattr(ome.images[0].pixels, f"physical_size_{d}_quantity").units) for d in dims}
axis_units
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [10], line 1
----> 1 axis_units = { d:str(getattr(ome.images[0].pixels, f"physical_size_{d}_quantity").units) for d in dims}
      2 axis_units

Cell In [10], line 1, in <dictcomp>(.0)
----> 1 axis_units = { d:str(getattr(ome.images[0].pixels, f"physical_size_{d}_quantity").units) for d in dims}
      2 axis_units

File ~/bin/mambaforge/envs/spatial-image/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:177, in OMEType.__getattr__(self, key)
    170     warnings.warn(
    171         f"Attribute '{cls_name}.{key}' is deprecated, use {new_key!r} instead",
    172         DeprecationWarning,
    173         stacklevel=2,
    174     )
    175     return getattr(self, new_key)
--> 177 return super().__getattr__(key)

AttributeError: 'super' object has no attribute '__getattr__'
```

ome.types does not contain the correspond entry anymore. Manually add the 'micrometer' unit, identified in the OME XML metadata print out in an earlier cell in the format specified by OME-Zarr.
@thewtex thewtex marked this pull request as ready for review October 11, 2023 15:09
RefResolver has been deprecated, other calls no longer succeed with
newer versions.

Migration guide: https://python-jsonschema.readthedocs.io/en/stable/referencing/#migrating-from-refresolver
@thewtex thewtex merged commit bc66a50 into spatial-image:main Oct 11, 2023
13 checks passed
@thewtex thewtex deleted the ci-updates branch October 11, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants