-
Notifications
You must be signed in to change notification settings - Fork 3
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
Single or double quotation mark in descr file matters #1
Comments
On Tue, Dec 14, 2021, qifei9 wrote:
When single quotation mark is used for the `seq` parameters in the descr
files, the behavior is weird.
Thanks for the report. It's been a long time since this code was written,
and not by me. I'll cc- this to Tom Macke.
All of the examples in the documentation use double quotes, so this is
clearly the intended use case, and the one that has been tested.
But the rmlex.l parser appears to treat single and double-quoted strings the
same -- compare line 103ff with 121ff. So I don't immediately see the
source of the problem. Maybe Tom will remember something here.
....regards...dac
|
Here is the reply from Tom Macke:
I'm embarassed (but not surprised) that I missed the difference in |
Thank you very much for this software and for the reply. Sorry that I missed that part in the manual. Is it OK to report/ask more issue/question in this repo? Perhaps it would also be misreading of manual... |
On Thu, Dec 16, 2021, qifei9 wrote:
Is it OK to report/ask more issue/question in this repo? Perhaps it would
also be misreading of manual...
By all means...please create issues as questions arise. The info about
single and double quotes was pretty well hidden in the manual, so your
question was a good one.
|
Reopening this issue so I don't forget my promise to update the Reference Manual. |
When single quotation mark is used for the
seq
parameters in the descr files, the behavior is weird.Tested on sequence:
When single quotation marks are used in descr file, for example:
no motif could be found. Also
seq='^UU'
andseq='^uu'
result in no motif found. Onlyseq='^tt'
could find the motif.However, when double quotation marks are used, all of
seq="^TT"
,"^tt"
,"^UU"
,"^uu"
could find the motif.Is this the designed behavior or a bug?
The text was updated successfully, but these errors were encountered: