-
Notifications
You must be signed in to change notification settings - Fork 60
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
Allow parser-specific command-line options which get passed to parser to handle internally #47
Comments
Can you be more specific about what problem(s) you see this solving and what you think should be implemented? I'm not necessarily opposed - I'm just not totally clear as to what you're getting at. |
This is as simple as tmp = software.split(':') and pass parser_opts to the parser. The parser makes use of this at it MD codes have different output and features and it is useful to extract Of course, these examples may be useful for all the parsers and could be On 16 December 2015 at 22:23, David L. Mobley [email protected]
|
OK, with this clarification I agree this is a good idea. It should be coupled to the standardization of the parser interface we've been talking about elsewhere (i.e. under #48 ). |
Also, I want to remark that we want to make sure to do this in a way that the options are just passed to the parser directly to handle internally, so that the code outside doesn't need to know about them. |
Done, although some functionality may be useful globally. |
Er, where was this done? Sorry, I'm just confused. |
In the refactor branch. I am currently not introducing any changes to my On 19 January 2016 at 00:27, David L. Mobley [email protected]
|
OK, right. Do you mind submitting a PR from your "refactor" branch to the master branch here (but obviously not merging) to make it easier to: Usually we do this (elsewhere) by submitting a PR with the characters "[WIP]" as the first characters in the title. That stands for "work in progress" and basically means it's just there to show people what you're doing and NOT yet ready for merging. It provides a good opportunity for discussion and comments on your changes, etc. For example, see choderalab/openmoltools#164. In case it's not obvious - changes you push to your branch after submitting the PR will automatically go into updates to the PR, so you basically just leave it open and keep making updates until you think it's ready to merge, then you edit the title to remove the "[WIP]" from it. |
Done. On 20 January 2016 at 19:59, David L. Mobley [email protected]
|
Thanks, I got the notification and will start looking at code hopefully DM On Thu, Jan 21, 2016 at 1:09 AM, Hannes Loeffler [email protected]
David Mobley |
It should be possible for the user to set parser specific options, e.g. from the command line like -a AMBER:write_grads:verbose=3:do_something_else. The main code will split this in a list and pass it on to the parser code.
The text was updated successfully, but these errors were encountered: