You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use "create column from regex replacement" to delete a substring (retaining the rest)
Galaxy Version and/or server at which you observed the bug Browser and Operating System
same as #19102
To Reproduce
Steps to reproduce the behavior:
Create a collection with asdf.fa and bsdf and a second collection with asdf.fa and bsdf.fa
Apply rules
Column
Using a regular expression
Create column from expression replacement
Regex: .fa
Replacement: `` (nothing)
What happens
The regex fails, failing to match some datasets.
If every dataset ends in .fa, instead it fails by creating a column with just .fa, because the rule sees the empty replacement and decides I actually meant to do "create column matching expression".
Expected behavior
I expect this to behave like cat | sed 's/a/b/g but it isn't. I expect it to be providing the entire identifier as input, and then doing the requested replacement (.fa with nothing) which shouldn't fail.
The text was updated successfully, but these errors were encountered:
Describe the bug
I want to use "create column from regex replacement" to delete a substring (retaining the rest)
Galaxy Version and/or server at which you observed the bug
Browser and Operating System
same as #19102
To Reproduce
Steps to reproduce the behavior:
asdf.fa
andbsdf
and a second collection withasdf.fa
andbsdf.fa
.fa
What happens
The regex fails, failing to match some datasets.
If every dataset ends in
.fa
, instead it fails by creating a column with just.fa
, because the rule sees the empty replacement and decides I actually meant to do "create column matching expression".Expected behavior
I expect this to behave like
cat | sed 's/a/b/g
but it isn't. I expect it to be providing the entire identifier as input, and then doing the requested replacement (.fa
with nothing) which shouldn't fail.The text was updated successfully, but these errors were encountered: