Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ga4gh/vrs-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.5
Choose a base ref
...
head repository: ga4gh/vrs-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8
Choose a head ref
  • 5 commits
  • 4 files changed
  • 3 contributors

Commits on Dec 6, 2023

  1. docs: Update README for running notebooks (#289)

    * docs: Update README for running notebooks (#286)
    
    * Updated the python version from 3.7 to 3.10
    * Provided description about running the notebook on VS Code
    ---------
    
    Co-authored-by: Kori Kuzma <korikuzma@gmail.com>
    
    * style: format changes
    
    ---------
    
    Co-authored-by: Manish Kuniyal <110035752+manish0kuniyal@users.noreply.github.com>
    korikuzma and manish0kuniyal authored Dec 6, 2023
    Copy the full SHA
    0512781 View commit details

Commits on Jan 8, 2024

  1. Copy the full SHA
    8bf13d9 View commit details
  2. Update PGx.ipynb (#314)

    Co-authored-by: Alex H. Wagner, PhD <Alex.Wagner@nationwidechildrens.org>
    korikuzma and ahwagner authored Jan 8, 2024
    Copy the full SHA
    75555ee View commit details
  3. cicd: delete stale action (#315)

    close #287
    korikuzma authored Jan 8, 2024
    Copy the full SHA
    8e3a29a View commit details
  4. cicd: delete stale action (#315)

    close #287
    korikuzma authored Jan 8, 2024
    Copy the full SHA
    fa5cd49 View commit details
Showing with 15 additions and 30 deletions.
  1. +0 −24 .github/workflows/stale.yml
  2. +10 −1 README.md
  3. +4 −4 docker-compose.yml
  4. +1 −1 notebooks/PGx.ipynb
24 changes: 0 additions & 24 deletions .github/workflows/stale.yml

This file was deleted.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ Here are some things to try.

Once installed as described above, type

$ source venv/3.7/bin/activate
$ source venv/3.10/bin/activate
$ jupyter notebook --notebook-dir notebooks/

The following jupyter extensions are recommended but not required
@@ -119,6 +119,15 @@ The following jupyter extensions are recommended but not required

We have created a public [`VRS-demo-notebooks`](https://app.terra.bio/#workspaces/terra-outreach/VRS-demo-notebooks) workspace in Terra that contains the demo notebooks along with instructions for running them with minimal setup. To get started, see either the [`VRS-demo-notebooks`](https://app.terra.bio/#workspaces/terra-outreach/VRS-demo-notebooks) workspace or the [`Terra.ipynb`](notebooks/Terra.ipynb) notebook in this repository.

## Running the Notebooks with VS Code

[VS Code](https://code.visualstudio.com/) is a code editor developed by Microsoft. It is lightweight, highly customizable, and supports a wide range of programming languages, with a robust extension system. You can download VS Code [here](https://code.visualstudio.com/Download).

**1. Open VS Code**: Launch Visual Studio Code.
**2. Install the Jupyter Extension**: Use Extensions view (Ctrl+Shift+X or ⌘+Shift+X) to install the [Jupyter extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter).
**3. Open the Project in VS Code**: Navigate to your project folder and open it in VS Code.
**4. Select the Jupyter Kernel**: In a notebook, click `Select Kernel` at the top right. Select the option where the path is `venv/3.10/bin/python3`. See [here](https://code.visualstudio.com/docs/datascience/jupyter-kernel-management) for more information on managing Jupyter Kernels in VS Code.
**5. Run the Notebook**: After selecting the kernel you can now run the notebook.

# Development

8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -17,12 +17,12 @@ services:
network_mode: bridge
ports:
- 5000:5000

uta:
# Test:
# psql -XAt postgres://anonymous@localhost/uta -c 'select count(*) from transcript'
# 249909
image: biocommons/uta:uta_20180821
# psql -XAt postgres://anonymous@localhost/uta -c 'select count(*) from uta_20210129b.transcript'
# 314227
image: biocommons/uta:uta_20210129b
volumes:
- uta_vol:/var/lib/postgresql/data
ports:
2 changes: 1 addition & 1 deletion notebooks/PGx.ipynb
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
"source": [
"## Imports and Configuration\n",
"\n",
"**NOTE:** A dynamic, web-based version of VRS-Python may be loaded through [mybinder.org](https://mybinder.org/v2/gh/ga4gh/vrs-python/pgxhttps://mybinder.org/v2/gh/ga4gh/vrs-python/pgx) where this notebook may be run without any local installation. Steps:\n",
"**NOTE:** A dynamic, web-based version of VRS-Python may be loaded through [mybinder.org](https://mybinder.org/v2/gh/ga4gh/vrs-python/pgx) where this notebook may be run without any local installation. Steps:\n",
"1. Navigate to the [VRS-Python mybinder.org build](https://mybinder.org/v2/gh/ga4gh/vrs-python/pgx)\n",
"2. Once the Binder build is completed, navigate to notebooks/PGx.ipynb\n",
"3. Under kernel, select `VRS_kernel`"