-
Notifications
You must be signed in to change notification settings - Fork 705
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
Launch pipeline regex fails #674
Comments
I have a feeling it's either in Line 18 in 7919c2d
Or in the way the site parses it. It also seems to fail with anything that starts with \\. so the gtf or .gtf.gz for the gtf file also fails similarly.
|
Good catch! The problem is that the HTML form field wants the regex to match the whole string, therefore the pattern in the |
Thanks @mashehu ! Fancy giving the |
Gave it a run and it works great! |
@mashehu I think that this is a website bug, not a pipeline schema issue. JSON schema patterns should match partial strings unless I'm mistaken..? |
Yes and no. We check for these by adding the regex into the |
Struggling to find the reference now, but I'm 90% sure I looked into this a few weeks ago when the same thing came up in the Tower launch interface.. |
By already matching the full string in the regex it should now be okay in the json-schema and in the form, no? |
http://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.6.4
This is from a more recent schema version but I think it still holds true. The validation from the Java library that we use within the pipeline certainly seems to behave this way anyway. |
Describe the bug
When trying to launch a new workflow some of the regex check fail
But
.csv
PassesTo Reproduce
Steps to reproduce the behavior:
samplesheet.csv
Expected behavior
The regex passes because it ends in csv
Screenshots
Browser (please complete the following information):
The text was updated successfully, but these errors were encountered: