Skip to content

Commit

Permalink
Removed unused regex for uniprot gx validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Beatriz Saldana committed Nov 25, 2024
1 parent ea0aeab commit 932e15c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gx_suite_definitions/gene_info.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,7 @@
"source": [
"# uniprotkb_accessions\n",
"validator.expect_column_values_to_be_of_type(\"uniprotkb_accessions\", \"list\")\n",
"validator.expect_column_values_to_have_list_members_of_type(column=\"uniprotkb_accessions\", member_type=\"str\")\n",
"\n",
"# Regex from https://www.uniprot.org/help/accession_numbers\n",
"# validator.expect_column_values_to_match_regex(\"uniprotkb_accession\", \"[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_have_list_members_of_type(column=\"uniprotkb_accessions\", member_type=\"str\")"
]
},
{
Expand Down

0 comments on commit 932e15c

Please sign in to comment.