Skip to content

Commit

Permalink
Merge pull request #26 from jburel/fix
Browse files Browse the repository at this point in the history
Improvements
  • Loading branch information
joshmoore authored Nov 5, 2024
2 parents 61419d2 + 942f707 commit 31af9c1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/omero_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
runs-on: ubuntu-latest
env:
STAGE: cli
PLUGIN: rdf
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Checkout omero-test-infra
uses: actions/checkout@master
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ jobs:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Build a binary wheel and a source tarball
run: |
python -mpip install setuptools build wheel
python -m build
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.3.0
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
password: ${{ secrets.PYPI_PASSWORD }}
11 changes: 0 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
repos:

- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
args: ["--profile", "black"]

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.. image:: https://github.com/german-bioimaging/omero-rdf/workflows/OMERO/badge.svg
:target: https://github.com/german-bioimaging/omero-rdf
.. image:: https://github.com/German-BioImaging/omero-rdf/workflows/OMERO/badge.svg
:target: https://github.com/german-bioimaging/omero-rdf/actions

.. image:: https://badge.fury.io/py/omero-rdf.svg
:target: https://badge.fury.io/py/omero-rdf

omero-rdf
==================================
=========

A plugin for exporting rdf from OMERO

Expand Down
2 changes: 1 addition & 1 deletion src/omero_rdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def descend(
"""

if isinstance(target, list):
return([self.descend(gateway, t, handler) for t in target])
return [self.descend(gateway, t, handler) for t in target]

elif isinstance(target, Screen):
scr = self._lookup(gateway, "Screen", target.id)
Expand Down

0 comments on commit 31af9c1

Please sign in to comment.