Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upplanemo lint --urls false positive from pmid:12345678 #573
Comments
peterjc
added
bug
linting
labels
Sep 22, 2016
This comment has been minimized.
This comment has been minimized.
Also failing on
See e.g. https://travis-ci.org/peterjc/galaxy_blast/jobs/161948618
|
This comment has been minimized.
This comment has been minimized.
Also failing on |
peterjc
assigned
erasche
Sep 23, 2016
added a commit
to peterjc/pico_galaxy
that referenced
this issue
Sep 23, 2016
This comment has been minimized.
This comment has been minimized.
hey @peterjc I was on vacation this past week. Writing a quick patch now that fixes this and additionally restricts urls to http / ftp urls. |
This comment has been minimized.
This comment has been minimized.
Thanks - your pull request #579 is along the lines I was thinking of. Editing the REGEX might be more elegant, but it is already so complicated it would be easy to trigger side effects. |
This comment has been minimized.
This comment has been minimized.
With #579 merged this should be fixed in the next release of Planemo, so closing - thanks! |
peterjc commentedSep 22, 2016
Linting this file https://github.com/peterjc/pico_galaxy/blob/801daf8dc7932a087eb83a96d0be1e99ed0447c3/tools/chromosome_diagram/chromosome_diagram.xml is failing,
Or,
This is triggered by the RST help text in the tool XML file:
https://github.com/peterjc/pico_galaxy/blob/801daf8dc7932a087eb83a96d0be1e99ed0447c3/tools/chromosome_diagram/chromosome_diagram.xml#L75
It appears
pmid:19304878
is wrongly being picked up as a URL despite not having a double slash after the colon?planemo/planemo/shed/__init__.py
Line 137 in 6a6f164