Skip to content
Snippets Groups Projects

Implements #96

4 files
+ 64
35
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
8
@@ -161,13 +161,7 @@ dlgObj.userMSG(msg);
% user functions
if options.CopyUserFCN
[fList,pList] = matlab.codetools.requiredFilesAndProducts(scriptPath);
fList = fList(~ismember(fList,scriptPath)); % rmv script from list
fList = fList(~contains(fList,'config.json')); % rmv config.json from list
fList = PlotID.removePltIdFiles(fList); % Do not copy files that are part of PlotID
if ~isempty(fList)
PlotID.createFileCopy(fList,folderName,storPath,ID,'userFcn');
end
toolboxList = PlotID.copyUserFCN(scriptPath, folderName, storPath, ID);
end
%% Research data handling
@@ -239,7 +233,7 @@ meta.ProjectID = ID;
meta.CreationDate = datestr(now);
meta.MatlabVersion = version;
if options.CopyUserFCN
meta.ToolboxVersions = pList;
meta.ToolboxVersions = toolboxList;
end
% write meta
metaPath = fullfile(storPath,folderName,'plotID_data.json');
Loading