output with different parameters
Closed this issue · 3 comments
If the user use the same Parser.run
method, multiple times, with different parameters. The parsing will fail. This is because different raw output files were generated.
To fix this issue, I will need to have the parser remember the tcc input parameters, and use the information to parse only the relevant output files.
Likewise, the parser should also allow different filenames rather than 'sample'
The situation is remedied by the clear
method of Parser
implemented in 277dda2.
clear
effectively deletes the output of TCC, so that the user can choose to clear
first if they wanted to change parameters.
I am not sure if this is a good fix.
Likewise, the parser should also allow different filenames rather than 'sample'
This issue is solved in 4e77ede
This issue will be closed. The current version of tcclib
(e3f1cf8) DO NOT remember the configuration files. Therefore it DOE NOT SUPPORT the coexistence of multiple output from different parameters.
If the user wanted to change the parameter in the Parser.run
or OTC.__call___
method, this person needs to use the clear
method before, to remove the existing TCC output.
If the user wishes to try out a wide range of input parameters, he or she will have to create individual Parser
or OTF
instances for different parameters.