Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
f6ddd3a7
Commit
f6ddd3a7
authored
3 years ago
by
Lemmer, Jan
Browse files
Options
Downloads
Patches
Plain Diff
Dev/filesep
parent
2210290c
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!30
Fix CI
,
!18
Dev/filesep
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
+PlotID/Publish.m
+1
-1
1 addition, 1 deletion
+PlotID/Publish.m
+PlotID/createLinkedHDF5.m
+2
-2
2 additions, 2 deletions
+PlotID/createLinkedHDF5.m
CI_files/default_test.m
+1
-1
1 addition, 1 deletion
CI_files/default_test.m
example.m
+3
-3
3 additions, 3 deletions
example.m
with
7 additions
and
7 deletions
+PlotID/Publish.m
+
1
−
1
View file @
f6ddd3a7
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
+PlotID/createLinkedHDF5.m
+
2
−
2
View file @
f6ddd3a7
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
CI_files/default_test.m
+
1
−
1
View file @
f6ddd3a7
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
example.m
+
3
−
3
View file @
f6ddd3a7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment