From 9b5916d574c032dbcb7def08029fad7887d39e67 Mon Sep 17 00:00:00 2001 From: gongmingjun <100408186+gongmingjun@users.noreply.github.com> Date: Thu, 16 Mar 2023 13:31:09 +0800 Subject: [PATCH 1/3] Add files via upload --- SlicerDentureRegistration.s4ext | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 SlicerDentureRegistration.s4ext diff --git a/SlicerDentureRegistration.s4ext b/SlicerDentureRegistration.s4ext new file mode 100644 index 000000000..c9933645c --- /dev/null +++ b/SlicerDentureRegistration.s4ext @@ -0,0 +1,44 @@ +# +# 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/gongmingjun/SlicerDentureRegistration.git +scmrevision 0 + +# 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/gongmingjun/SlicerDentureRegistration + +# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) +# For example: Jane Roe (Superware), John Doe (Lab1, Nowhere), Joe Bloggs (Noware) +contributors Xiaojun Chen, Mingjun Gong, Yueang Liu (SJTU) + +# Match category in the xml description of the module (where it shows up in Modules menu) +category Examples + +# url to icon (png, size 128x128 pixels) +iconurl https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/icon.png + +# Give people an idea what to expect from this code +# - Is it just a test or something you stand behind? +status + +# One line stating what the module does +This is an extension module to realize the registration of patients' CT images and the corresponding denture models. + +# Space separated list of urls +screenshoturls https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/DentureRegistration.jpg + +# 0 or 1: Define if the extension should be enabled after its installation. +enabled 1 From 759fb64de8e0b548bdb67afc1d1dde97ecf5278a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 2 May 2024 03:16:17 -0400 Subject: [PATCH 2/3] Fix DentureRegistration extension metadata Update scmrevision, contributors, category and homepage Add missing "description" key --- SlicerDentureRegistration.s4ext | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SlicerDentureRegistration.s4ext b/SlicerDentureRegistration.s4ext index c9933645c..2e12478c8 100644 --- a/SlicerDentureRegistration.s4ext +++ b/SlicerDentureRegistration.s4ext @@ -4,10 +4,10 @@ # - the value can be blank # -# This is source code manager (i.e. svn) +# This is source code manager scm git scmurl https://github.com/gongmingjun/SlicerDentureRegistration.git -scmrevision 0 +scmrevision main # list dependencies # - These should be names of other modules that have .s4ext files @@ -18,14 +18,14 @@ depends NA build_subdirectory . # homepage -homepage https://github.com/gongmingjun/SlicerDentureRegistration +homepage https://github.com/gongmingjun/SlicerDentureRegistration#readme # Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) # For example: Jane Roe (Superware), John Doe (Lab1, Nowhere), Joe Bloggs (Noware) -contributors Xiaojun Chen, Mingjun Gong, Yueang Liu (SJTU) +contributors Xiaojun Chen (SJTU), Mingjun Gong (SJTU), Yueang Liu (SJTU) # Match category in the xml description of the module (where it shows up in Modules menu) -category Examples +category Registration # url to icon (png, size 128x128 pixels) iconurl https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/icon.png @@ -35,7 +35,7 @@ iconurl https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/ status # One line stating what the module does -This is an extension module to realize the registration of patients' CT images and the corresponding denture models. +description This is an extension module to realize the registration of patients' CT images and the corresponding denture models. # Space separated list of urls screenshoturls https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/DentureRegistration.jpg From 1455cf3521f6eb94516b61b850c6298f5f42294b Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 2 May 2024 03:23:38 -0400 Subject: [PATCH 3/3] ENH: Convert SlicerDentureRegistration s4ext to json file --- SlicerDentureRegistration.json | 8 ++++++ SlicerDentureRegistration.s4ext | 44 --------------------------------- 2 files changed, 8 insertions(+), 44 deletions(-) create mode 100644 SlicerDentureRegistration.json delete mode 100644 SlicerDentureRegistration.s4ext diff --git a/SlicerDentureRegistration.json b/SlicerDentureRegistration.json new file mode 100644 index 000000000..e38d9737b --- /dev/null +++ b/SlicerDentureRegistration.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": "Registration", + "scm_revision": "main", + "scm_url": "https://github.com/gongmingjun/SlicerDentureRegistration.git" +} diff --git a/SlicerDentureRegistration.s4ext b/SlicerDentureRegistration.s4ext deleted file mode 100644 index 2e12478c8..000000000 --- a/SlicerDentureRegistration.s4ext +++ /dev/null @@ -1,44 +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 -scm git -scmurl https://github.com/gongmingjun/SlicerDentureRegistration.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/gongmingjun/SlicerDentureRegistration#readme - -# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) -# For example: Jane Roe (Superware), John Doe (Lab1, Nowhere), Joe Bloggs (Noware) -contributors Xiaojun Chen (SJTU), Mingjun Gong (SJTU), Yueang Liu (SJTU) - -# Match category in the xml description of the module (where it shows up in Modules menu) -category Registration - -# url to icon (png, size 128x128 pixels) -iconurl https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/icon.png - -# Give people an idea what to expect from this code -# - Is it just a test or something you stand behind? -status - -# One line stating what the module does -description This is an extension module to realize the registration of patients' CT images and the corresponding denture models. - -# Space separated list of urls -screenshoturls https://raw.githubusercontent.com/gongmingjun/SlicerDentureRegistration/master/DentureRegistration.jpg - -# 0 or 1: Define if the extension should be enabled after its installation. -enabled 1