Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Oct 23, 2024
1 parent 441ea1f commit 2983032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uk/ac/ebi/vfb/neo4j/flybase2neo/fb_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def clean_placeholders(template):
cleaned_line = {}
for key, value in line.items():
key = key.strip()
value = value.strip()
if isinstance(value, str):
value = value.strip()
cleaned_line[key] = value
Expand All @@ -161,8 +162,7 @@ def clean_placeholders(template):
# Handle 'line.' prefixes in placeholders
escaped_line = {}
for key, value in escaped_values.items():
# Include keys with and without 'line.' prefix
escaped_line[key] = value
# Include keys with 'line.' prefix
escaped_line['line.' + key] = value

try:
Expand Down

0 comments on commit 2983032

Please sign in to comment.