{bio}[GCC-13.3.0] ShapeMapper2 2.3#22922
Conversation
| try: | ||
| if dms: | ||
| - if re.search("\.sam", self.filename): | ||
| + if re.search(".sam", self.filename): |
There was a problem hiding this comment.
this doesn't seem right? without the backslash anything with sam will match, not only the literal .sam.
same for the other cases?
There was a problem hiding this comment.
Only '\' needs escapping with Python3.
>>> import re
>>> filename = 'sam-filename.sam'
>>> re.search("\.sam", filename)
<stdin>:1: SyntaxWarning: invalid escape sequence '\.'
<re.Match object; span=(12, 16), match='.sam'>
>>> re.search(".sam", filename)
<re.Match object; span=(12, 16), match='.sam'>
There was a problem hiding this comment.
ah, you should use a raw string:
| + if re.search(".sam", self.filename): | |
| + if re.search(r"\.sam", self.filename): |
There was a problem hiding this comment.
@smoors Can you apply this suggestion, and then also fix the checksum for the patch file, test & merge?
|
@boegelbot please test @ jsc-zen3 |
|
Test report by @Thyre |
|
@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3397528863 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
….0.eb Co-authored-by: Sam Moors <[email protected]>
|
Test report by @akesandgren |
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('binutils', '2.42'), |
There was a problem hiding this comment.
no need for binutils build dependency when using GCC toolchain
| ('binutils', '2.42'), | |
| ('binutils', '2.42'), |
| try: | ||
| if dms: | ||
| - if re.search("\.sam", self.filename): | ||
| + if re.search(".sam", self.filename): |
There was a problem hiding this comment.
@smoors Can you apply this suggestion, and then also fix the checksum for the patch file, test & merge?
|
Test report by @akesandgren |
|
@boegelbot Please test @ jsc-zen3 |
|
@akesandgren: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3400802386 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Going in, thanks @fizwit! |
No description provided.