Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error passing multiple arguments to stoke testcase #955

Open
jamesalbert opened this issue Apr 23, 2017 · 0 comments
Open

Error passing multiple arguments to stoke testcase #955

jamesalbert opened this issue Apr 23, 2017 · 0 comments

Comments

@jamesalbert
Copy link

I'm experiencing problems with passing multiple arguments to --args, this is my testcase.conf

##### stoke testcase config file

--bin ./sana
--args "-g1 yeast -g2 human" # I've tried with and without quotes and quotes around each arg
--functions bins

-o simpleRun.tc

--fxn _ZN10TabuSearch9simpleRunERK9AlignmentdRy
--max_testcases 1024

and the error I'm getting from stoke testcase --config testcase.conf is:

Errors:

  --args <arg1 arg2 ... argn>
      Error reading value: No argument provided!
  -g1 yeast -g2 human 
      Ignoring unrecognized argument!

I managed to get this working by hardcoding in the default value ("-g1 yeast -g2 human") and rebuilding stoke. But hopefully there's a better solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant