File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
fret-electron/app/components Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ const fs = require('fs');
7878const archiver = require ( 'archiver' ) ;
7979const app = require ( 'electron' ) . remote . app ;
8080const dialog = require ( 'electron' ) . remote . dialog ;
81+ const utils = require ( '../../support/utils' ) ;
8182
8283import analysisPortalManual from '../../docs/_media/ExportingForAnalysis/analysisInsideFRET.md' ;
8384var dbChangeListener ;
@@ -185,7 +186,9 @@ class ComponentSummary extends React.Component {
185186 componentMapping . model_path = doc . modelComponent ;
186187 }
187188 var variable = { } ;
188- variable . variable_name = doc . modeldoc_id ;
189+ //Variable name in FRETish
190+ variable . variable_name = utils . replace_special_chars ( doc . variable_name ) ;
191+ //Signal path in Simulink model
189192 variable . variable_path = componentMapping . model_path + '/' + doc . modeldoc_id ;
190193 ( doc . idType === 'Input' ) ? componentInputs . push ( variable ) : componentOutputs . push ( variable ) ;
191194 }
You can’t perform that action at this time.
0 commit comments