From 2642ddac928d45ad3267ce80cacffb4a476ba18f Mon Sep 17 00:00:00 2001 From: Alexander Getka <59709326+AlexanderGetka-cbica@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:15:46 -0500 Subject: [PATCH 1/3] Add files via upload --- .github/workflows/github-repo-stats.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/github-repo-stats.yml diff --git a/.github/workflows/github-repo-stats.yml b/.github/workflows/github-repo-stats.yml new file mode 100644 index 0000000..85156d2 --- /dev/null +++ b/.github/workflows/github-repo-stats.yml @@ -0,0 +1,19 @@ +name: github-repo-stats + +on: + schedule: + # Run this once per day, towards the end of the day for keeping the most + # recent data point most meaningful (hours are interpreted in UTC). + - cron: "0 23 * * *" + workflow_dispatch: # Allow for running this manually. + +jobs: + j1: + name: github-repo-stats + runs-on: ubuntu-latest + steps: + - name: run-ghrs + # Use latest release. + uses: jgehrcke/github-repo-stats@RELEASE + with: + ghtoken: ${{ secrets.GHRS_GITHUB_API_TOKEN }} From 61e823742aac6657caff56b5d51254935427bb42 Mon Sep 17 00:00:00 2001 From: euroso97 Date: Fri, 6 Dec 2024 11:19:36 -0600 Subject: [PATCH 2/3] small futureproofing for argparse --- DLICV/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DLICV/__main__.py b/DLICV/__main__.py index 3fcb061..1bde0dc 100644 --- a/DLICV/__main__.py +++ b/DLICV/__main__.py @@ -53,7 +53,7 @@ def main() -> None: ) parser.add_argument( "-o", - "out_dir", + "--out_dir", type=str, required=True, help="[REQUIRED] Output folder. If it does not exist it will be created. Predicted segmentations will have the same name as their source images.", @@ -204,6 +204,8 @@ def main() -> None: args = parser.parse_args() args.f = [0] + args.i = args.in_dir + args.o = args.out_dir if args.clear_cache: shutil.rmtree(os.path.join(Path(__file__).parent, "nnunet_results")) From a26993672e946edebc307e8ff3f2ce6999d6b4da Mon Sep 17 00:00:00 2001 From: Alexander Getka <59709326+AlexanderGetka-cbica@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:38:31 -0600 Subject: [PATCH 3/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ab2004..90acefb 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name="DLICV", - version="1.0.3", + version="1.0.4", description="DLICV - Deep Learning Intra Cranial Volume.", long_description=long_description, long_description_content_type="text/markdown",