Skip to content

Commit

Permalink
Merge pull request #72 from jjjermiah/48-feature-getstudy
Browse files Browse the repository at this point in the history
48 feature getstudy
  • Loading branch information
jjjermiah committed Feb 3, 2024
2 parents d5bd973 + 958d603 commit 9552b6c
Show file tree
Hide file tree
Showing 11 changed files with 602 additions and 132 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,21 @@ jobs:
- name: Install package
run: poetry install


- name: Update README code block
run: |
awk '/``` bash NBIAToolkit-Output/ {
print "``` bash NBIAToolkit-Output";
print "> NBIAToolkit --version";
system("NBIAToolkit --version");
f=1;
next
} f && /```/ {
print "```";
f=0;
next
} !f' README.md > temp && mv temp README.md
# This action uses Python Semantic Release v8
# What this action does:
# - Determines the next version number based on the commit history
Expand Down Expand Up @@ -191,6 +206,28 @@ jobs:
ghcr.io/${{ github.repository }}/nbiatoolkit:latest
labels: ${{ steps.meta.outputs.labels }}

test_install_withPyPi:
needs: Continuous-Deployment
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14]
python-version: ["3.10", "3.12", "3.11"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install using PyPi
run: |
pip install nbiatoolkit;
NBIAToolkit
test_image_with_new_tag:
needs: Continuous-Deployment
runs-on: ubuntu-latest
Expand Down
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,64 @@



## v0.15.1 (2024-02-02)

### Build

* build: add install with pypi test ([`648ea4f`](https://github.com/jjjermiah/nbia-toolkit/commit/648ea4f6d53b4460bc546693cfe88e418a4d5aa6))


## v0.15.0 (2024-02-01)

### Chore

* chore(release): 0.15.0 ([`0b6c7f1`](https://github.com/jjjermiah/nbia-toolkit/commit/0b6c7f1d0729a06e8f6ac8f2d791fde024aff107))

### Documentation

* docs: Add NBIAToolkit CLI usage to README ([`4cd3785`](https://github.com/jjjermiah/nbia-toolkit/commit/4cd3785efc8673610c7f3faec9678924df6fc277))

* docs: adding requirements.txt back just for the build docs requirements ([`22ccb4c`](https://github.com/jjjermiah/nbia-toolkit/commit/22ccb4ce955b40c28f81ecffaca2da863385db48))

* docs: trying pip install instead of requirements file ([`c258223`](https://github.com/jjjermiah/nbia-toolkit/commit/c2582230b8097245e46b423f6f2d626b9d0e6f1e))

* docs(README): re-structure ([`9a836e5`](https://github.com/jjjermiah/nbia-toolkit/commit/9a836e5b9ba43d4aef7eb76ad7a854fcce554129))

### Feature

* feat: Update dependencies and add CLI tool help messages ([`658b59d`](https://github.com/jjjermiah/nbia-toolkit/commit/658b59d708fafb81794a25d17a8c7a509177e0ce))

* feat(build): add python 3.10 ([`86db037`](https://github.com/jjjermiah/nbia-toolkit/commit/86db037f6381c381709647b0483e19563edf5de5))

### Fix

* fix: Update pyproject.toml ([`b0b0f0a`](https://github.com/jjjermiah/nbia-toolkit/commit/b0b0f0acdbbeeb93900d7ffb57d87be34c84cbf2))

* fix: add setup.py back ([`f7394be`](https://github.com/jjjermiah/nbia-toolkit/commit/f7394beeeb6eea377b4cb863ee03333fe36eddc3))

* fix: Update version number in pyproject.toml and nbia.py ([`63cf16e`](https://github.com/jjjermiah/nbia-toolkit/commit/63cf16ea42bc04e8c0c7d39f15f5cf874dc6ef56))

### Refactor

* refactor: CLI code to improve performance and readability ([`d5bd973`](https://github.com/jjjermiah/nbia-toolkit/commit/d5bd9731bb54a140b518edff33ab7eab90ff1450))

### Unknown

* Merge pull request #69 from jjjermiah/development

Add CLI commands ([`1d77ea1`](https://github.com/jjjermiah/nbia-toolkit/commit/1d77ea1ab4c916d827f71f1712004bf7592fc8d5))

* generalized arg parse ([`58cb470`](https://github.com/jjjermiah/nbia-toolkit/commit/58cb4709a80ee80c89b9db66d6ef87f6addc0e9c))

* testing macOS M1 and python 3.10 ([`a507597`](https://github.com/jjjermiah/nbia-toolkit/commit/a507597f84cf7a343b7504c3b8a5b191ea7e60e9))


## v0.14.0 (2024-01-30)

### Chore

* chore(release): 0.14.0 ([`67233c5`](https://github.com/jjjermiah/nbia-toolkit/commit/67233c588a3d0133f1d0642b787e381414b7b6cb))

### Feature

* feat: Add new CLI commands and improve error handling in DICOMSorter and NBIAClient ([`83fd4de`](https://github.com/jjjermiah/nbia-toolkit/commit/83fd4de204b8c4aac7e5ba4ab1fb2264f36b72aa))
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ pip install nbiatoolkit

## CLI Usage

### getCollections
# getCollections Output
nbia-toolkit also provides a command line interface (CLI) to query the NBIA database for some queries.
``` bash
❯ NBIAToolkit
``` bash NBIAToolkit-Output
❯ NBIAToolkit --version
_ ______ _______ ______ ____ _ __
/ | / / __ )/ _/ |/_ __/___ ____ / / /__(_) /_
/ |/ / __ |/ // /| | / / / __ \/ __ \/ / //_/ / __/
Expand Down

0 comments on commit 9552b6c

Please sign in to comment.