Skip to content

Commit

Permalink
Fixes based on meeting (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLoecker authored Nov 2, 2022
1 parent ab8c7ca commit 3fc7f57
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
ref: ${{ github.GITHUB_REF }}

# Log into the GitHub Container Registry so we can push the image
- name: Log in to Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -55,13 +56,17 @@ jobs:
type=semver,pattern={{version}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, 'master') }}
# What is QEMU?
# QEMU is a generic and open source machine emulator and virtualizer.
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: linux/amd64

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

# Fail if prehook not used
- name: Set Up Python for Cleaning
uses: actions/setup-python@v4
with:
Expand All @@ -71,14 +76,15 @@ jobs:
python -m pip install --upgrade nbstripout --no-cache-dir
find /home/runner/work/MADRID/MADRID/ -name "*.ipynb" -exec nbstripout "{}" \;
# Fail if prehook not used
- name: Clean Notebook Output
- name: Assert Clean Notebook Output
uses: ResearchSoftwareActions/[email protected]

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64
file: ./Dockerfile
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
1 change: 1 addition & 0 deletions main/py/async_bioservices/database_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def fetch_gene_info(
:param taxon_id: The taxon ID to use (default: 9606)
:return: A dataframe with specified columns as "output_db" (Default is HUGO symbol, Entrez ID, and chromosome start and end positions)
"""

input_db_value = input_db.value
if output_db is None:

Expand Down

0 comments on commit 3fc7f57

Please sign in to comment.