Skip to content
Snippets Groups Projects
Commit 589053ec authored by Maeva Pourpoint's avatar Maeva Pourpoint
Browse files

Apply suggestion to data2passcal/data2passcal.py

parent f964357b
No related branches found
No related tags found
1 merge request!5Conda packaging
Pipeline #701 failed with stages
in 21 seconds
...@@ -130,7 +130,8 @@ def sendable(file): ...@@ -130,7 +130,8 @@ def sendable(file):
# Basic Miniseed file metadata extracted from filename # Basic Miniseed file metadata extracted from filename
# This includes .p files which we may accept in the future but won't h # This includes .p files which we may accept in the future but won't h
MseedRE = re.compile( MseedRE = re.compile(
r'\A(.*)\.([A-Z0-9][A-Z0-9])\.(.*)\.([A-Z][A-Z]\w)\.([0-9]{4})\.([0-9]{3})(?:\.p)*') # noqa MseedRE = re.compile(r'\A(.*)\.([A-Z0-9][A-Z0-9])\.(.*)\.'
r'([A-Z][A-Z]\w)\.([0-9]{4})\.([0-9]{3})(?:\.p)*')
def filename_qc_format(file): def filename_qc_format(file):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment