From 2c35c336428effde439287df0dd59c1737b454d4 Mon Sep 17 00:00:00 2001 From: Kyunglok Baik Date: Tue, 12 Nov 2024 11:13:25 -0500 Subject: [PATCH] output filename schema changed --- DLWMLS/__main__.py | 2 +- DLWMLS/__pycache__/__init__.cpython-312.pyc | Bin 168 -> 160 bytes DLWMLS/__pycache__/__main__.cpython-312.pyc | Bin 13334 -> 13326 bytes DLWMLS/__pycache__/utils.cpython-312.pyc | Bin 1947 -> 1939 bytes DLWMLS/utils.py | 3 ++- 5 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DLWMLS/__main__.py b/DLWMLS/__main__.py index 30d50d2..8c5bf07 100644 --- a/DLWMLS/__main__.py +++ b/DLWMLS/__main__.py @@ -120,7 +120,7 @@ def main() -> None: "-d", type=str, required=False, - default="002", + default="003", help="[nnUnet Arg] Dataset with which you would like to predict. You can specify either dataset name or id", ) parser.add_argument( diff --git a/DLWMLS/__pycache__/__init__.cpython-312.pyc b/DLWMLS/__pycache__/__init__.cpython-312.pyc index b9a5f832d3e7d934a52911e5812cf9986f311f29..1f035aafc1d3e8e451007462357655404f2182e0 100644 GIT binary patch delta 27 hcmZ3%xPX!SG%qg~0}%Ad8cpOjX0)GZuQoB)8UR$X24DaH delta 35 pcmZ3$xPp=UG%qg~0}zyMm7mCM%;-MRUX9%^(>WutsAOV_4FH*8348zm diff --git a/DLWMLS/__pycache__/__main__.cpython-312.pyc b/DLWMLS/__pycache__/__main__.cpython-312.pyc index ea558c2e97555b55c20cd5e569293226d35e5978..3890dec627bd109b24236c38beb7542d48293d6a 100644 GIT binary patch delta 38 scmbQ1(U-w}nwOW00SGkYj5cy7OEVg8&X@kp$7nw}TT5;8Os!f@0L3c`r2qf` delta 46 zcmeCnn3lnPnwOW00SGD+l{RuGOEVg6&X@kp$LKyeTT6}IFVi_Av8ZJ81g$zw05ehz A*Z=?k diff --git a/DLWMLS/__pycache__/utils.cpython-312.pyc b/DLWMLS/__pycache__/utils.cpython-312.pyc index c91cb0644e264199c8ed4966a2f138a4858e788a..fc10d70537cd05bf6461bf739bb5a8affd503bad 100644 GIT binary patch delta 31 lcmbQuKbfEVG%qg~0}%Ad8g1lW$jE3jc`c*b=G%-1SOIvd2zmej delta 39 ucmbQtKbxQXG%qg~0}#xJQrgJ9kde`4@>)hUcE3#LjKrdn&6gMtvH}3dTMJ Tuple[dict, dict] new_name = os.path.join(des_folder, rename_file) shutil.copy2(old_name, new_name) rename_dict[filename] = rename_file - rename_back_dict[rename_back] = "DLWMLS_mask_" + filename + rename_back_dict[rename_back] = filename.split(".nii")[0] + "_WMLS.nii.gz" + print("%s will be renamed to %s" % (old_name, filename.split(".nii")[0] + "_WMLS.nii.gz")) return rename_dict, rename_back_dict