Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSG QC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
US191
TSG QC
Commits
8772e25a
Commit
8772e25a
authored
17 years ago
by
jacques.grelet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
reorganisation du code
parent
d6b349ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg_util/tsg_preferences.m
+15
-15
15 additions, 15 deletions
tsg_util/tsg_preferences.m
with
15 additions
and
15 deletions
tsg_util/tsg_preferences.m
+
15
−
15
View file @
8772e25a
...
...
@@ -85,10 +85,6 @@ switch fid
% if file exist, load in workspace
% --------------------------------
load
(
config_file
,
'root'
,
'tsg'
);
% transforme filename saved in tsg.qc.hash to tsg_nc object
% ---------------------------------------------------------
tsg
.
qc
.
hash
=
tsg_nc
(
tsg
.
qc
.
hash
);
catch
...
...
@@ -103,6 +99,20 @@ switch fid
end
% If there no field version or wrong version, initialize
% -------------------------------------------------------
if
~
isfield
(
root
,
'version'
)
||
~
strcmp
(
root
.
version
,
VERSION
)
% call new config private function
% --------------------------------
new_config
;
end
% transforme filename saved in tsg.qc.hash to tsg_nc object
% ---------------------------------------------------------
tsg
.
qc
.
hash
=
tsg_nc
(
tsg
.
qc
.
hash
);
% display waitbar
% ---------------
waitbar
(
1
/
2
,
wb
,
'loading structure tsg'
);
...
...
@@ -128,17 +138,7 @@ switch fid
'delete it.'
],
config_file
);
quitProgram
(
hTsgGUI
,
DEFAULT_PATH_FILE
);
end
% If there no field version or wrong version, initialize
% -------------------------------------------------------
if
~
isfield
(
root
,
'version'
)
||
~
strcmp
(
root
.
version
,
VERSION
)
% call new config private function
% --------------------------------
new_config
;
end
end
end
...
...
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