Skip to content

Commit

Permalink
Add comment + print message when extension has been installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ehennestad committed Nov 23, 2024
1 parent 132aa67 commit 781f303
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions +matnwb/+extension/installExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion nwbInstallExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion resources/function_templates/nwbInstallExtension.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 781f303

Please sign in to comment.