Closed PavelBal closed 4 years ago
startQualificationRunner(qualificationRunnerFolder, qualificationsPlan, REInput_path, '--pksim', '"c:\Program Files\Open Systems Pharmacology\PK-Sim 9.0\"')
what is this?
I have PK-Sim 8 installed and PK-Sim nightly as a portable. Do I need PK-Sim 9 installed for the ver.9 of the quilification runner?
Yes
the --pksim option
THis needs to be pass as an argument to the runner.
something like QualitifcationRunner.exe --pksim see QualitifcationRunner.exe --help for details
ok, the problem is that -p
(or --pksim
) option cannot handle path in double quotes.
Thus something like QualificationRunner ... -p "PathToPkSim"
fails,
but QualificationRunner ... -p PathToPkSim
works (if PathToPkSim does not contain spaces).
@PavelBal So workaround is: save PK-Sim 9 in a folder without spaces and remove double quotes in the call.
ok. I am trying to never touch this matlab stuff ...like never ever
yep.. but this is the bug in the QualiRunner indeed. Matlab just calls it with passed arguments.
But why do you pass " and '? this looks weird to me. .net supports path with path without problems when using a CLI
simple quotes are matlab string, double quotes are passed to the runner then.
So the Runner is called like this: QualiRunner ... --pksim "c:\Program Files\Open Systems Pharmacology\PK-Sim 9.0\"
And the problem are double quotes in the path following --pksim
.
(Probably the Runner does not remove them before appending PK-Sim.exe so that the path becomes something like "c:\Program Files\Open Systems Pharmacology\PK-Sim 9.0\"PK-Sim.exe
)
Guys, you made my day :D
Yes, copying PK-Sim to a path without spaces works. Thank you @Yuri05 !
Obsolete.
@msevestre was the problem with blanks in the path of PK-Sim portable and passing it in double quotes actually fixed?
So would it work now if I call QualiRunner ... --pksim "c:\Path with blanks\PK-Sim\"
?
WIth the nightly build (9.0.67) I get an error
I have PK-Sim 8 installed and PK-Sim nightly as a portable. Do I need PK-Sim 9 installed for the ver.9 of the quilification runner?
I also tried to specify the path to PK-Sim 9 by
startQualificationRunner(qualificationRunnerFolder, qualificationPlan, REInput_path, '--pksim', '"c:\Program Files\Open Systems Pharmacology\PK-Sim 9.0\"');
But then I get the error
fail: Qualification Runner[0] Illegales Zeichen im Pfad.
fail: Qualification Runner[0] Qualification Workflow failed