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
b68ff67d
Commit
b68ff67d
authored
3 years ago
by
Lemmer, Jan
Browse files
Options
Downloads
Patches
Plain Diff
Add do not move warning and file
parent
bbf4456d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!62
Introduce changes for V1.0 RC 1
,
!59
Improve centralized function by warnings and moving code to FCN
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
+PlotID/Publish.m
+8
-1
8 additions, 1 deletion
+PlotID/Publish.m
with
8 additions
and
1 deletion
+PlotID/Publish.m
+
8
−
1
View file @
b68ff67d
...
...
@@ -168,6 +168,8 @@ end
switch
options
.
Method
case
'centralized'
DataFolderName
=
'data'
;
warning
([
'Linked HDF5 can only be moved with their '
,
...
'respective master files in the '
,
DataFolderName
,
' folder.'
]);
% check if data folder exists
if
~
isfolder
(
fullfile
(
storPath
,
DataFolderName
))
mkdir
(
fullfile
(
storPath
,
DataFolderName
));
...
...
@@ -210,8 +212,13 @@ switch options.Method
[
status
]
=
PlotID
.
createLinkedHDF5
(
pathToData
,
linkedHDFPath
);
end
%if
end
%if
% add do not move message
doNotMove
=
[
'do not move this folder without the '
,
...
DataFolderName
,
' folder'
];
fid
=
fopen
(
fullfile
(
storPath
,
folderName
,[
doNotMove
,
'.txt'
]),
'w'
);
fprintf
(
fid
,
doNotMove
);
fclose
(
fid
);
end
%for
clear
DataFolderName
clear
DataFolderName
doNotmove
case
'individual'
% Create a copy of the research data
[
~
,
status
,
msg
]
=
PlotID
.
createFileCopy
(
dataObj
.
DataPaths
,
folderName
,
storPath
,
ID
,
'data'
);
...
...
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