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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
c568d46e
Commit
c568d46e
authored
Jan 28, 2022
by
Lemmer, Jan
Browse files
Options
Downloads
Patches
Plain Diff
FIX bug that causes Error when COPYUSER FCN is off and a broken
toolbox appears
parent
5b4287ed
Branches
Branches containing commit
No related tags found
1 merge request
!50
Draft: FIX bug that causes Error when COPYUSER FCN is off and a broken
Pipeline
#635047
passed
Jan 28, 2022
Stage: Run
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
+PlotID/Publish.m
+5
-4
5 additions, 4 deletions
+PlotID/Publish.m
with
5 additions
and
4 deletions
+PlotID/Publish.m
+
5
−
4
View file @
c568d46e
...
@@ -170,8 +170,8 @@ dlgObj.scriptPublished =status;
...
@@ -170,8 +170,8 @@ dlgObj.scriptPublished =status;
dlgObj
.
userMSG
(
msg
);
dlgObj
.
userMSG
(
msg
);
% user functions
% user functions
[
fList
,
pList
]
=
matlab
.
codetools
.
requiredFilesAndProducts
(
scriptPath
);
if
options
.
CopyUserFCN
if
options
.
CopyUserFCN
[
fList
,
pList
]
=
matlab
.
codetools
.
requiredFilesAndProducts
(
scriptPath
);
fList
=
fList
(
~
ismember
(
fList
,
scriptPath
));
% rmv script from list
fList
=
fList
(
~
ismember
(
fList
,
scriptPath
));
% rmv script from list
fList
=
fList
(
~
contains
(
fList
,
'config.json'
));
% rmv config.json 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
fList
=
PlotID
.
removePltIdFiles
(
fList
);
% Do not copy files that are part of PlotID
...
@@ -248,8 +248,9 @@ end
...
@@ -248,8 +248,9 @@ end
meta
.
ProjectID
=
ID
;
meta
.
ProjectID
=
ID
;
meta
.
CreationDate
=
datestr
(
now
);
meta
.
CreationDate
=
datestr
(
now
);
meta
.
MatlabVersion
=
version
;
meta
.
MatlabVersion
=
version
;
if
options
.
CopyUserFCN
meta
.
ToolboxVersions
=
pList
;
meta
.
ToolboxVersions
=
pList
;
end
% write meta
% write meta
metaPath
=
fullfile
(
storPath
,
folderName
,
'plotID_data.json'
);
metaPath
=
fullfile
(
storPath
,
folderName
,
'plotID_data.json'
);
fid
=
fopen
(
char
(
metaPath
),
'w'
);
fid
=
fopen
(
char
(
metaPath
),
'w'
);
...
...
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