From 781f303bdff045e63409311fd105914f65ecafe1 Mon Sep 17 00:00:00 2001 From: ehennestad Date: Sat, 23 Nov 2024 20:38:43 +0100 Subject: [PATCH] Add comment + print message when extension has been installed --- +matnwb/+extension/installExtension.m | 1 + nwbInstallExtension.m | 2 +- resources/function_templates/nwbInstallExtension.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/+matnwb/+extension/installExtension.m b/+matnwb/+extension/installExtension.m index 9cd79a31..a86a34f4 100644 --- a/+matnwb/+extension/installExtension.m +++ b/+matnwb/+extension/installExtension.m @@ -69,6 +69,7 @@ function installExtension(extensionName) 'More than one namespace file was found for extension "%s"', extensionName ... ) generateExtension( fullfile(L.folder, L.name) ); + fprintf("Installed extension ""%s"".\n", extensionName) end function repoFolder = downloadZippedRepo(githubUrl, targetFolder, updateFlag, throwErrorIfFails) diff --git a/nwbInstallExtension.m b/nwbInstallExtension.m index 61bf0f6a..5052fc32 100644 --- a/nwbInstallExtension.m +++ b/nwbInstallExtension.m @@ -7,7 +7,7 @@ function nwbInstallExtension(extensionNames) % extensionNames is a scalar string or a string array, containing the name % of one or more extensions from the Neurodata Extensions Catalog % -% Valid Extension Names: +% Valid Extension Names (from https://nwb-extensions.github.io): % - "ndx-miniscope" % - "ndx-simulation-output" % - "ndx-ecog" diff --git a/resources/function_templates/nwbInstallExtension.txt b/resources/function_templates/nwbInstallExtension.txt index 14f090da..bd8226f0 100644 --- a/resources/function_templates/nwbInstallExtension.txt +++ b/resources/function_templates/nwbInstallExtension.txt @@ -7,7 +7,7 @@ function nwbInstallExtension(extensionNames) % extensionNames is a scalar string or a string array, containing the name % of one or more extensions from the Neurodata Extensions Catalog % -% Valid Extension Names: +% Valid Extension Names (from https://nwb-extensions.github.io): {{extensionNamesDoc}} % % Example: