From 1dc7251745862800613efa832d3c8a3ce25c214a Mon Sep 17 00:00:00 2001 From: "Adam Ginsburg (keflavich)" Date: Tue, 11 Jun 2019 16:25:17 +0300 Subject: [PATCH] CRTFs do not need to start with #CRTFvn$, they can have more text at the end of that line --- regions/io/crtf/read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regions/io/crtf/read.py b/regions/io/crtf/read.py index b02f518d..bc2696f6 100644 --- a/regions/io/crtf/read.py +++ b/regions/io/crtf/read.py @@ -15,7 +15,7 @@ __all__ = ['read_crtf', 'CRTFParser', 'CRTFRegionParser'] # All CASA files start with '#CRTF' . It may also include the version number like '#CRTFv0' . -regex_begin = re.compile(r'^#CRTFv?[\d]?$') +regex_begin = re.compile(r'^#CRTFv?[\d]?') # Comment Format : regex_comment = re.compile(r'^#.*$')