Skip to content

Commit

Permalink
removing any passed double quotes
Browse files Browse the repository at this point in the history
problem issue:
UPDATE feature_expression SET hemidriver = "FBtp0121686" WHERE tg = "FBtp0118626" AND comment = "when combined with @FBtp0121686:P{R39H12-GAL4.DBD}@ (combination referred to as '"T4/T5a,d-splitGal4"')"
  • Loading branch information
Robbie1977 committed Dec 9, 2023
1 parent 07f62e8 commit d478cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uk/ac/ebi/vfb/neo4j/flybase2neo/expression_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def proc_splits(eng):
m2 = re.match('.*{.*(DBD|AD).*}', m.group(2))
# If it is a split:
if m2:
hemidriver_id = m.group(1)
hemidriver_type = m2.group(1)
hemidriver_id = m.group(1).replace('"', '')
hemidriver_type = m2.group(1).replace('"', '')
# link hemidriver to feature_expression table in temp DB
eng.execute('UPDATE feature_expression SET hemidriver = "%s" '
'WHERE tg = "%s" '
Expand Down

0 comments on commit d478cba

Please sign in to comment.