From 86356b3e5dab271d339a859d63e89a1b477583d6 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 1 Aug 2023 09:11:58 +0200 Subject: [PATCH] [data.nih_cxr14] Rename from nih_cxr14_re --- pyproject.toml | 4 ++-- .../data/{nih_cxr14_re => nih_cxr14}/__init__.py | 0 .../{nih_cxr14_re => nih_cxr14}/cardiomegaly.json | 0 .../{nih_cxr14_re => nih_cxr14}/cardiomegaly.py | 0 .../data/{nih_cxr14_re => nih_cxr14}/datamodule.py | 0 .../{nih_cxr14_re => nih_cxr14}/default.json.bz2 | Bin .../data/{nih_cxr14_re => nih_cxr14}/default.py | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/__init__.py (100%) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/cardiomegaly.json (100%) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/cardiomegaly.py (100%) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/datamodule.py (100%) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/default.json.bz2 (100%) rename src/ptbench/data/{nih_cxr14_re => nih_cxr14}/default.py (100%) diff --git a/pyproject.toml b/pyproject.toml index d76e3979..ff03e366 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -221,8 +221,8 @@ hivtb_f9 = "ptbench.data.hivtb.fold_9" mc_ch_in_pc = "ptbench.data.mc_ch_in_pc.default" # NIH CXR14 (relabeled) -nih_cxr14 = "ptbench.data.nih_cxr14_re.default" -nih_cxr14_cm = "ptbench.data.nih_cxr14_re.cardiomegaly" +nih-cxr14 = "ptbench.data.nih_cxr14.default" +nih-cxr14-cardiomegaly = "ptbench.data.nih_cxr14.cardiomegaly" # NIH CXR14 / PadChest aggregated dataset nih_cxr14_pc_idiap = "ptbench.data.nih_cxr14_re_pc.idiap" diff --git a/src/ptbench/data/nih_cxr14_re/__init__.py b/src/ptbench/data/nih_cxr14/__init__.py similarity index 100% rename from src/ptbench/data/nih_cxr14_re/__init__.py rename to src/ptbench/data/nih_cxr14/__init__.py diff --git a/src/ptbench/data/nih_cxr14_re/cardiomegaly.json b/src/ptbench/data/nih_cxr14/cardiomegaly.json similarity index 100% rename from src/ptbench/data/nih_cxr14_re/cardiomegaly.json rename to src/ptbench/data/nih_cxr14/cardiomegaly.json diff --git a/src/ptbench/data/nih_cxr14_re/cardiomegaly.py b/src/ptbench/data/nih_cxr14/cardiomegaly.py similarity index 100% rename from src/ptbench/data/nih_cxr14_re/cardiomegaly.py rename to src/ptbench/data/nih_cxr14/cardiomegaly.py diff --git a/src/ptbench/data/nih_cxr14_re/datamodule.py b/src/ptbench/data/nih_cxr14/datamodule.py similarity index 100% rename from src/ptbench/data/nih_cxr14_re/datamodule.py rename to src/ptbench/data/nih_cxr14/datamodule.py diff --git a/src/ptbench/data/nih_cxr14_re/default.json.bz2 b/src/ptbench/data/nih_cxr14/default.json.bz2 similarity index 100% rename from src/ptbench/data/nih_cxr14_re/default.json.bz2 rename to src/ptbench/data/nih_cxr14/default.json.bz2 diff --git a/src/ptbench/data/nih_cxr14_re/default.py b/src/ptbench/data/nih_cxr14/default.py similarity index 100% rename from src/ptbench/data/nih_cxr14_re/default.py rename to src/ptbench/data/nih_cxr14/default.py -- GitLab