From e0f9a737bdd9be3d1db8584a4c89304c0bad21d4 Mon Sep 17 00:00:00 2001 From: saima safdar <80670821+saimasafdar2021@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:08:43 +0800 Subject: [PATCH 1/4] Add files via upload --- SurfaceModelNodesSelector.s4ext | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 SurfaceModelNodesSelector.s4ext diff --git a/SurfaceModelNodesSelector.s4ext b/SurfaceModelNodesSelector.s4ext new file mode 100644 index 000000000..ee0119c35 --- /dev/null +++ b/SurfaceModelNodesSelector.s4ext @@ -0,0 +1,43 @@ +# +# First token of each non-comment line is the keyword and the rest of the line +# (including spaces) is the value. +# - the value can be blank +# + +# This is source code manager (i.e. svn) +scm git +scmurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/tree/main +scmrevision main + +# list dependencies +# - These should be names of other modules that have .s4ext files +# - The dependencies will be built first +depends NA + +# Inner build directory (default is ".") +build_subdirectory . + +# homepage +homepage https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/tree/main + +# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) +# For example: + +# Match category in the xml description of the module (where it shows up in Modules menu) +category Surface Models + +# url to icon (png, size 128x128 pixels) +iconurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/blob/main/sModel.png + +# Give people an idea what to expect from this code +# - Is it just a test or something you stand behind? +status Beta + +# One line stating what the module does +Supports segmentation of brain tumor for a cohort at once without any human intervention. + +# Space separated list of urls +screenshoturls https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/blob/main/sModel.png + +# 0 or 1: Define if the extension should be enabled after its installation. +enabled 1 From ef0bdae1d9f718344a8bde3083f894dc4e96d51f Mon Sep 17 00:00:00 2001 From: saima safdar <80670821+saimasafdar2021@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:51:40 +0800 Subject: [PATCH 2/4] Update SurfaceModelNodesSelector.s4ext updated the links as suggested --- SurfaceModelNodesSelector.s4ext | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SurfaceModelNodesSelector.s4ext b/SurfaceModelNodesSelector.s4ext index ee0119c35..d5bf6e2b8 100644 --- a/SurfaceModelNodesSelector.s4ext +++ b/SurfaceModelNodesSelector.s4ext @@ -6,7 +6,7 @@ # This is source code manager (i.e. svn) scm git -scmurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/tree/main +scmurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector.git scmrevision main # list dependencies @@ -18,7 +18,7 @@ depends NA build_subdirectory . # homepage -homepage https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/tree/main +homepage https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector # Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) # For example: From 3c2d99be55958fa0867d2a8a7bf894fbed9edd50 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 2 May 2024 01:37:00 -0400 Subject: [PATCH 3/4] BUG: Fix SurfaceModelNodesSelector metadata specified in s4ext Set description based on text from the homepage Set iconurl and screenshoturls as GitHub raw URLs Set iconurl to SurfaceModelNodesSelector.png --- SurfaceModelNodesSelector.s4ext | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SurfaceModelNodesSelector.s4ext b/SurfaceModelNodesSelector.s4ext index d5bf6e2b8..b434eb8e2 100644 --- a/SurfaceModelNodesSelector.s4ext +++ b/SurfaceModelNodesSelector.s4ext @@ -27,17 +27,17 @@ homepage https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector category Surface Models # url to icon (png, size 128x128 pixels) -iconurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/blob/main/sModel.png +iconurl https://raw.githubusercontent.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/main/SurfaceModelNodesSelector.png # Give people an idea what to expect from this code # - Is it just a test or something you stand behind? status Beta # One line stating what the module does -Supports segmentation of brain tumor for a cohort at once without any human intervention. +description The module selects the nodes/vertices of each triangle in a surface modle and place a fiducial (3D point) at each vertex of each triangle in a surface model. The surface model can be any model. # Space separated list of urls -screenshoturls https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/blob/main/sModel.png +screenshoturls https://raw.githubusercontent.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/main/sModel.png # 0 or 1: Define if the extension should be enabled after its installation. enabled 1 From 9f51b21aa3d61d04f2fe2943a08b82122edc5551 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 2 May 2024 01:43:23 -0400 Subject: [PATCH 4/4] ENH: Convert SurfaceModelNodesSelector s4ext to json file --- SurfaceModelNodesSelector.json | 8 ++++++ SurfaceModelNodesSelector.s4ext | 43 --------------------------------- 2 files changed, 8 insertions(+), 43 deletions(-) create mode 100644 SurfaceModelNodesSelector.json delete mode 100644 SurfaceModelNodesSelector.s4ext diff --git a/SurfaceModelNodesSelector.json b/SurfaceModelNodesSelector.json new file mode 100644 index 000000000..725cc72b7 --- /dev/null +++ b/SurfaceModelNodesSelector.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.0.json#", + "build_dependencies": [], + "build_subdirectory": ".", + "category": "Surface Models", + "scm_revision": "main", + "scm_url": "https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector.git" +} diff --git a/SurfaceModelNodesSelector.s4ext b/SurfaceModelNodesSelector.s4ext deleted file mode 100644 index b434eb8e2..000000000 --- a/SurfaceModelNodesSelector.s4ext +++ /dev/null @@ -1,43 +0,0 @@ -# -# First token of each non-comment line is the keyword and the rest of the line -# (including spaces) is the value. -# - the value can be blank -# - -# This is source code manager (i.e. svn) -scm git -scmurl https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector.git -scmrevision main - -# list dependencies -# - These should be names of other modules that have .s4ext files -# - The dependencies will be built first -depends NA - -# Inner build directory (default is ".") -build_subdirectory . - -# homepage -homepage https://github.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector - -# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) -# For example: - -# Match category in the xml description of the module (where it shows up in Modules menu) -category Surface Models - -# url to icon (png, size 128x128 pixels) -iconurl https://raw.githubusercontent.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/main/SurfaceModelNodesSelector.png - -# Give people an idea what to expect from this code -# - Is it just a test or something you stand behind? -status Beta - -# One line stating what the module does -description The module selects the nodes/vertices of each triangle in a surface modle and place a fiducial (3D point) at each vertex of each triangle in a surface model. The surface model can be any model. - -# Space separated list of urls -screenshoturls https://raw.githubusercontent.com/saimasafdar2021/Slicer_SurfaceModelNodesSelector/main/sModel.png - -# 0 or 1: Define if the extension should be enabled after its installation. -enabled 1