From a1856ff66b0d25f701e9bbdb54f44b9fea76a7eb Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Fri, 25 Sep 2020 10:03:31 -0400 Subject: [PATCH 1/2] Remove warning when account doesn't have axafvv access --- mica/report/tests/test_write_report.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mica/report/tests/test_write_report.py b/mica/report/tests/test_write_report.py index 705363c9..21180f23 100644 --- a/mica/report/tests/test_write_report.py +++ b/mica/report/tests/test_write_report.py @@ -17,8 +17,6 @@ except Exception: if on_head_network() and not has_sybase(): warn("On HEAD but no sybase access. Run ska_envs or define SYBASE/SYBASE_OCS") - if on_head_network() and has_sybase(): - warn(f"{user} account probably doesn't have axafvv database access") HAS_SYBASE_ACCESS = False From 35550c0ba6197b1745b67fd51939fcfa89089b83 Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Fri, 25 Sep 2020 10:20:37 -0400 Subject: [PATCH 2/2] Fix unrelated warning from escape sequence in regex --- mica/archive/asp_l1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mica/archive/asp_l1.py b/mica/archive/asp_l1.py index 512c7870..a7063746 100644 --- a/mica/archive/asp_l1.py +++ b/mica/archive/asp_l1.py @@ -34,7 +34,7 @@ label='asp_l1', small='asp1{fidprops}', small_glob='*fidpr*', - small_ver_regex='pcadf\d+N(\d{3})_', + small_ver_regex=r'pcadf\d+N(\d{3})_', full='asp1', filecheck=False, cols=ARCHFILES_HDR_COLS,