diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3aa3fd1b..1d036b83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,51 +52,6 @@ jobs: - uses: codecov/codecov-action@v2 - test-aicsimageio: - name: test aicsimageio - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - repository: AllenCellModeling/aicsimageio - submodules: true - - uses: actions/checkout@v3 - with: - path: ome-types - fetch-depth: 0 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - name: Install aicsimageio - run: | - python -m pip install --upgrade pip - python -m pip install .[test] - python -m pip install bioformats_jar - - - uses: actions/cache@v3 - id: cache - with: - path: aicsimageio/tests/resources - key: ${{ hashFiles('scripts/TEST_RESOURCES_HASH.txt') }} - - - name: Download Test Resources - if: steps.cache.outputs.cache-hit != 'true' - run: python scripts/download_test_resources.py --debug - - - name: Install ome-types - run: pip install . - working-directory: ome-types - - - name: Run Tests - run: | - pytest --color=yes -k "not REMOTE" --ignore test_known_errors_without_cleaning \ - aicsimageio/tests/readers/test_ome_tiff_reader.py \ - aicsimageio/tests/readers/extra_readers/test_bioformats_reader.py \ - aicsimageio/tests/readers/extra_readers/test_ome_zarr_reader.py - deploy: name: Deploy runs-on: ubuntu-latest diff --git a/src/ome_types/_mixins/_instrument.py b/src/ome_types/_mixins/_instrument.py index e9ba375f..1f2b4d9d 100644 --- a/src/ome_types/_mixins/_instrument.py +++ b/src/ome_types/_mixins/_instrument.py @@ -17,7 +17,7 @@ class InstrumentMixin: @property - def light_source_group(self) -> List[LightSource]: + def light_source_group(self) -> List["LightSource"]: slf = cast("Instrument", self) return [ *slf.arcs,