Skip to content
Snippets Groups Projects
Commit f6ddd3a7 authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

Dev/filesep

parent 2210290c
Branches
Tags
2 merge requests!30Fix CI,!18Dev/filesep
......@@ -96,7 +96,7 @@ switch options.Method
currentPath = fullfile(storPath);
%list all files
fList = dir(fullfile(storPath,DataFolderName, '**\*.*'));
fList = dir(fullfile(storPath,DataFolderName, ['**',filesep,'*.*']));
%get list of files and folders in any subfolder
fList = fList(~[fList.isdir]); %remove folders from list
fList = struct2table(fList);
......
......@@ -18,8 +18,8 @@ end
fid = H5F.create(fullfile(TargetPath,ID,[filename,ext]));
%create External Link to Sourcefile in the Group linkToExternal
H5L.create_external(['..\',SourceFile],'/',fid, SourceFile ,plist_id,plist_id);
%H5L.create_external(['..\data\',SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original
H5L.create_external(['..',SourceFile],'/',fid, SourceFile ,plist_id,plist_id);
%H5L.create_external(['..',filesep,'data',filesep,SourceFile],'/',fid, SourceFile ,plist_id,plist_id); %original
H5F.close(fid);
disp([fullfile(TargetPath,ID,[filename,ext]),' created']);
status = 1;
......
......@@ -62,7 +62,7 @@ try
delete CI_files/export/* CI_files/*.mat CI_files/*.h5
rmdir('CI_files/export','s');
clear; clc;
clc;
catch
result = false;
......
......@@ -68,14 +68,14 @@ set(gca, 'TickDir', 'out', 'YLim', [0,4]);
% The functions needs the file location of the script, the location of the
% data and the figure and can take several options (see readme).
path.script = mfilename('fullpath'); % filename of the m.script
locations.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
%(defined above:) dataset1 = 'test_data.mat'; dataset2 = 'testdata2.h5'
path.rdata = {dataset1,dataset2} ; % don't forget the extension
locations.rdata = {dataset1,dataset2} ; % don't forget the extension
%call publishing
PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual')
PlotID.Publish(locations, ID, fig(1), 'Location', 'local' ,'Method','individual')
%% Example 2: multiple plots plot, all based on dataset2 (hdf5)
% for individual data-sets, use an appropriate array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment