|
3 | 3 | %% this script to initialize the variables. If PSOM does not behave the way
|
4 | 4 | %% you want, this might be the place to fix that.
|
5 | 5 |
|
6 |
| -gb_psom_gb_vars = true; |
| 6 | +if ~exist('gb_psom_gb_vars','var') |
| 7 | + gb_psom_gb_vars = true; |
| 8 | +else |
| 9 | + return |
| 10 | +end |
7 | 11 |
|
8 | 12 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
9 | 13 | %% The following variables need to be changed to configure the pipeline %%
|
|
74 | 78 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
75 | 79 |
|
76 | 80 | % PSOM version
|
77 |
| -gb_psom_version = '2.2.1'; % PSOM release number |
| 81 | +gb_psom_version = '2.2.2'; % PSOM release number |
78 | 82 |
|
79 | 83 | % Is the environment Octave or Matlab ?
|
80 | 84 | if exist('OCTAVE_VERSION','builtin')
|
@@ -164,31 +168,8 @@ for gb_psom_pdf_viewer = gb_psom_list_pdf
|
164 | 168 | end
|
165 | 169 | end
|
166 | 170 |
|
167 |
| -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
168 |
| -%% Any following line will be executed at the begining of every PSOM command and every job %% |
169 |
| -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
170 |
| - |
171 |
| -%% Uncomment the following line to load the image processing package in Octave |
172 |
| - |
173 |
| -% pkg load image |
174 |
| - |
175 |
| -%% Don't use more to verbose "on-the-fly" in Octave |
176 |
| - |
177 |
| -% more off |
178 |
| - |
179 |
| -%% Use .mat files compatible with Matlab in Octave |
180 |
| - |
181 |
| -% default_save_options('-7'); |
182 |
| - |
183 |
| -%% This is a bit of a dangerous option, but it makes things run faster in Octave. |
184 |
| -%% You'll have to exit octave and start again if you want any change in the functions to be |
185 |
| -%% taken into account. |
186 |
| - |
187 |
| -% ignore_function_time_stamp ('all') |
188 | 171 |
|
189 |
| -%% Use the local configuration file if any, will overwite global config |
190 |
| -if ~exist('gb_psom_gb_vars_local','var')&&exist('psom_gb_vars_local.m','file') |
191 |
| - gb_psom_gb_vars_local = true; |
| 172 | +if exist('psom_gb_vars_local.m','file') |
192 | 173 | psom_gb_vars_local
|
193 | 174 | return
|
194 | 175 | end
|
0 commit comments