Read table from file
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Read table from file
Ok, that's a problem. I could look at the parser. -Peter
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Read table from file
Hi
On second thought. Maybe easier to modify ElmerGUI.
The newline is changed to semicolon at line 378 of $ELMERSRC/ElmerGUI/Application/src/dynamiceditor.cpp
q.replace( '\n', ';' );
Commenthing this away would fix the workflow.
The downside is that after editing the view to the results is not as pretty.
Any preferences?
-Peter
On second thought. Maybe easier to modify ElmerGUI.
The newline is changed to semicolon at line 378 of $ELMERSRC/ElmerGUI/Application/src/dynamiceditor.cpp
q.replace( '\n', ';' );
Commenthing this away would fix the workflow.
The downside is that after editing the view to the results is not as pretty.
Any preferences?
-Peter
Re: Read table from file
Hmmm, I would think spontaneously that it may be the "cleaner" way to fix the parser.
But I have no idea how much work that would be, and I am not familiar enough with all the possible cases of sif parsing.
As long as the edit field in the GUI can be viewed and edited normally (with a scrollbar if it is multiline, just as a free text field?), modifying the GUI as you wrote should also be OK.
At the end, the developper decides...
Matthias
But I have no idea how much work that would be, and I am not familiar enough with all the possible cases of sif parsing.
As long as the edit field in the GUI can be viewed and edited normally (with a scrollbar if it is multiline, just as a free text field?), modifying the GUI as you wrote should also be OK.
At the end, the developper decides...
Matthias
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Read table from file
Hi
After considering the parser we decided to take the easy route. The GUI should in the future not enforce the semicolons.
-Peter
After considering the parser we decided to take the easy route. The GUI should in the future not enforce the semicolons.
-Peter