Closed samuelbray32 closed 2 weeks ago
Additional note: the restriction strings placed in the ExportSelection.Table()
entries do not all have balanced parentheses (saw multiple with dangling parentheses on the end. This causes issues whith the OR logic when applying them together as a list.
Code to sanitize these:
cleaned_restriction = (
"("*restriction.count( "(" )
+ restriction
+ ")"*restriction.count( ")" )
)
I ran update
on the restrictions captured here to remove unbalanced parens, and found the leaf node updated appropriately. I've pushed an update to #1164 that should fix the unbalanced parens issue, and I've also rerun the Export.populate
/resulting shell script. The _Populate.sql
is updated in the relevant export folder
Describe the bug
ExportSelection.Table
ExportSelection
matters and is traced, resulting in missing entries in the export.To Reproduce In the franklab database:
Solution ideas
ExportSelection.get_restr_graph
combine the uniques restrictions for the same table using adj.OrList()