From b20d1de3bbab9f1357e93c6654840c008aae0112 Mon Sep 17 00:00:00 2001 From: AnnaPSQ <77609658+AnnaPSQ@users.noreply.github.com> Date: Wed, 29 Jun 2022 15:57:26 -0400 Subject: [PATCH 1/2] Add SegmentEditorSlic extension --- SegmentEditorSlic.s4ext | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 SegmentEditorSlic.s4ext diff --git a/SegmentEditorSlic.s4ext b/SegmentEditorSlic.s4ext new file mode 100644 index 00000000..46b66dea --- /dev/null +++ b/SegmentEditorSlic.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 +scm git +scmurl https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect.git +scmrevision master + +# 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/AnnaPSQ/Slicer-SLICSegmentEditorEffect/tree/master + +# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) +# For example: Jane Roe (Superware), John Doe (Lab1, Nowhere), Joe Bloggs (Noware) +contributors Anna Pasquier (LINUM , UQAM) + +# Match category in the xml description of the module (where it shows up in Modules menu) +category Pipelines + +# url to icon (png, size 128x128 pixels) +iconurl https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect/blob/master/SegmentEditorSlic.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 extension offers generation of segments using SLIC algorithm + +# Space separated list of urls +screenshoturls https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect/blob/master/screenshot.PNG + +# 0 or 1: Define if the extension should be enabled after its installation. +enabled 1 From 3dea40cad415a9343d7d5771e5c334cbb7c64a5e Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Wed, 1 May 2024 14:17:18 -0400 Subject: [PATCH 2/2] ENH: Convert SegmentEditorSLIC s4ext to json file --- SegmentEditorSlic.json | 8 ++++++++ SegmentEditorSlic.s4ext | 44 ----------------------------------------- 2 files changed, 8 insertions(+), 44 deletions(-) create mode 100644 SegmentEditorSlic.json delete mode 100644 SegmentEditorSlic.s4ext diff --git a/SegmentEditorSlic.json b/SegmentEditorSlic.json new file mode 100644 index 00000000..70ce8b46 --- /dev/null +++ b/SegmentEditorSlic.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": "Pipelines", + "scm_revision": "master", + "scm_url": "https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect.git" +} diff --git a/SegmentEditorSlic.s4ext b/SegmentEditorSlic.s4ext deleted file mode 100644 index 46b66dea..00000000 --- a/SegmentEditorSlic.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/AnnaPSQ/Slicer-SLICSegmentEditorEffect.git -scmrevision master - -# 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/AnnaPSQ/Slicer-SLICSegmentEditorEffect/tree/master - -# Firstname1 Lastname1 ([SubOrg1, ]Org1), Firstname2 Lastname2 ([SubOrg2, ]Org2) -# For example: Jane Roe (Superware), John Doe (Lab1, Nowhere), Joe Bloggs (Noware) -contributors Anna Pasquier (LINUM , UQAM) - -# Match category in the xml description of the module (where it shows up in Modules menu) -category Pipelines - -# url to icon (png, size 128x128 pixels) -iconurl https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect/blob/master/SegmentEditorSlic.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 extension offers generation of segments using SLIC algorithm - -# Space separated list of urls -screenshoturls https://github.com/AnnaPSQ/Slicer-SLICSegmentEditorEffect/blob/master/screenshot.PNG - -# 0 or 1: Define if the extension should be enabled after its installation. -enabled 1