From 24602a35a52b9732be30bc7d9a1723fc653f078c Mon Sep 17 00:00:00 2001 From: Stef Smeets Date: Wed, 19 Apr 2023 14:29:27 +0200 Subject: [PATCH] Fix failing workflows (#563) * Fix syntax error in workflow * Fix documentation workflow * Fix relative import --- .github/workflows/documentation.yml | 3 ++- .github/workflows/fair-software.yml | 2 +- dianna/methods/kernelshap.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 45888367..05293377 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -25,7 +25,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install-python-and-package - extras-require: docs + with: + extras-require: docs - name: Install pandoc using apt run: sudo apt install pandoc - name: Build documentation diff --git a/.github/workflows/fair-software.yml b/.github/workflows/fair-software.yml index ee777b1c..e7276068 100644 --- a/.github/workflows/fair-software.yml +++ b/.github/workflows/fair-software.yml @@ -30,7 +30,7 @@ jobs: verify_pull_request: name: "fair-software" runs-on: ubuntu-latest - if: ${{ (github.event_name == 'pull_request') and (github.event.pull_request.draft == false) }} + if: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.draft == false) }} steps: - uses: fair-software/howfairis-github-action@0.2.1 name: Measure compliance with fair-software.eu recommendations diff --git a/dianna/methods/kernelshap.py b/dianna/methods/kernelshap.py index 8cd22c51..ec5c007d 100644 --- a/dianna/methods/kernelshap.py +++ b/dianna/methods/kernelshap.py @@ -3,7 +3,7 @@ import shap import skimage.segmentation from dianna import utils -from .._logging_utils import LoggingContext +from dianna._logging_utils import LoggingContext class KERNELSHAPImage: