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

Nichols Data browser #25

Open
sandyl27 opened this issue Jul 16, 2018 · 4 comments
Open

Nichols Data browser #25

sandyl27 opened this issue Jul 16, 2018 · 4 comments

Comments

@sandyl27
Copy link

When I clicked the radio button Correlations among strains and searched ygeQ

I got

Database error
A database query error has occurred. This may indicate a bug in the software.

SELECT * FROM chemgen.strain_cc WHERE (strain IN ('ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'')) ORDER BY correlation_coefficient desc

Function: EcoliSpecialpage::doRequest
Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','ECK2858-YGEQ'','' at line 1 (localhost)

@dsiegele
Copy link
Member

I didn't get this error when I selected the radio button 'Correlations among strains' and searched for either ygeQ or ECK2859. 10:15 pm CDT.

@sandyl27
Copy link
Author

sandyl27 commented Jul 17, 2018

Jim was working on it yesterday and may have fixed it.
Also, this is on OMP and when I did it again this morning, it is still getting an error.
@jimhu-tamu

@jimhu-tamu
Copy link
Member

Fixed by escaping the single quotes for primes. Not ideal, but couldn't figure out how to get a mysqli connection object from within the MW code.

@dsiegele dsiegele reopened this Jul 26, 2018
@dsiegele
Copy link
Member

For most, if not all of the the gene names that have a single quote, such as ypjC', I don't know any reason for the quote to be there. I will double check the list and maybe we can eliminate all of them.

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

3 participants