-
Notifications
You must be signed in to change notification settings - Fork 6
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
add option to print GAPC call #167
Conversation
how about we always print this information when the user "asks for help" via |
regarding the failing test: I would guess, that your changes break my ugly mechanism in the https://github.com/jlab/fold-grammars/blob/master/Misc/Applications/addRNAoptions.pl script |
I prefer the first option (treat it like @sjanssen2: your suggestion also sounds good, but we'd need to make sure that the message doesn't "disappear" between the other help messages. Maybe put it at the beginning or end? |
The reason the tests failed is that the
That would work too. Your call. |
Lets print it in the generic help info then. @kmaibach only fold-grammar binary get the extensive help messages through the addRNAoptions.pl script. But they are typically not meant for the end user and therefore get wrapped by an additional Perl or Python script. Thus, a cluttered help wouldn't hurt. |
I know, this design isn't perfect. Back then, my fold-grammars repo and Georgs gapc where kind of independent. Today, one could think about moving the RNA options into gapc altogether. However, right now, I would prefer to leave this separation as is. Meaning that it might be easiest to add the same changes for checkpointing to the rnaoptions files in the fold-grammar repo |
…ion into Logfile (will work after PR #167)
…he macro should always be visible; just to be sure)
would it be complicated to also add the gapc version, used to compile the sources, like |
Not at all, I will add that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works like a charm. Thank you!
During our conversation on PR #163, we figured it would be useful to be able to print the
GAPC
command line call that created the source files for a certain binary directly from that binary, so I added this option intoGAPC
.You can now use the
-v
or--printCall
options to instruct the binary to print itsGAPC
call. As of right now, the program terminates directly after the call is printed, so it is treated like a--help
option. But we could of course also just print the call if the option is specified and continue the execution normally afterwards. What are your thoughts?