Skip to content

Commit

Permalink
indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Oct 22, 2024
1 parent e5f3a84 commit c04f941
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/uk/ac/ebi/vfb/neo4j/flybase2neo/add_refs_for_anat.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,15 @@ def gen_pub_links(self):
self.write_pub_link(d['short_form'], s, type=k)

def commit(self):
# Remove duplicates from the node writer statements
self.node_writer.statements = list(set(self.node_writer.statements))

# Remove duplicates from the edge writer statements
self.edge_writer.statements = list(set(self.edge_writer.statements))

# Commit the unique statements
self.node_writer.commit(chunk_length=1000, verbose=True)
self.edge_witer.commit(chunk_length=1000, verbose=True)
# Remove duplicates from the node writer statements
self.node_writer.statements = list(set(self.node_writer.statements))
# Remove duplicates from the edge writer statements
self.edge_writer.statements = list(set(self.edge_writer.statements))
# Commit the unique statements
self.node_writer.commit(chunk_length=1000, verbose=True)
self.edge_witer.commit(chunk_length=1000, verbose=True)

def __main__():
pl = pubLink(endpoint=args.endpoint,
Expand Down

0 comments on commit c04f941

Please sign in to comment.