Skip to content

Commit

Permalink
remove duplicate cleanup step
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirenmathur committed Dec 13, 2024
1 parent 0321d06 commit f84508f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/modules/parsing/graph_construction/code_graph_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ def create_and_store_graph(self, repo_dir, project_id, user_id):
nx_graph = self.repo_map.create_graph(repo_dir)

with self.driver.session() as session:
# First, clear any existing data for this project
session.run(
"""
MATCH (n {repoId: $project_id})
DETACH DELETE n
""",
project_id=project_id,
)

start_time = time.time()
node_count = nx_graph.number_of_nodes()
Expand Down

0 comments on commit f84508f

Please sign in to comment.