Skip to content

Commit

Permalink
updates regex
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Sep 16, 2024
1 parent 475f033 commit 582d4dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gx_suite_definitions/proteomics_srm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"# uniqid\n",
"validator.expect_column_values_to_be_of_type(\"uniqid\", \"str\")\n",
"validator.expect_column_values_to_not_be_null(\"uniqid\")\n",
"validator.expect_column_values_to_match_regex(\"uniqid\", \"^(?:[A-Za-z0-9_.-]+\\\\|[A-Za-z0-9_.-]+|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})$\")"
"validator.expect_column_values_to_match_regex(\"uniqid\", \"^(?:[A-Za-z0-9_.-]+\\\\|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})$\")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"expectation_type": "expect_column_values_to_match_regex",
"kwargs": {
"column": "uniqid",
"regex": "^(?:[A-Za-z0-9_.-]+\\|[A-Za-z0-9_.-]+|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})$"
"regex": "^(?:[A-Za-z0-9_.-]+\\|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})$"
},
"meta": {}
},
Expand Down

0 comments on commit 582d4dd

Please sign in to comment.