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
Python 2.7.16 (default, Dec 21 2020, 23:00:36)
[GCC Apple LLVM 12.0.0 (clang-1200.0.30.4) [+internal-os, ptrauth-isa=sign+stri on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> import sys
>>> import urllib
>>> regex0 = re.compile("^title=.*(p([0-9]+).+Proteomics.*(raw|RAW|wiff)).*")
>>> line="title=File%3a%20%22S%3a%5cp23874%5cProteomics%5cQEXACTIVE_2%5canalytic_20210121%5c20210121_C23874_012_S282311_BC6%2eraw%22%20%3b%20SpectrumID%3a%20%2273256%22%3b%20scans%3a%20%2240490%22"
>>> result=regex0.match(urllib.url2pathname(line.strip()).replace('\\',"/").replace("//","/"))
>>> result
<_sre.SRE_Match object at 0x109ae7ae0>
>>> result.group(1)
'p23874/Proteomics/QEXACTIVE_2/analytic_20210121/20210121_C23874_012_S282311_BC6.raw'
>>> result
The text was updated successfully, but these errors were encountered:
bfabricPy/bfabric/scripts/bfabric_feeder_mascot.py
Line 198 in 43a16e4
make it python3 work
The text was updated successfully, but these errors were encountered: