Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vanoha committed Aug 24, 2023
1 parent 57fe0a6 commit 561e902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion sampo/userinput/parser/csv_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def read_graph_info(project_info: str,
works_info = set_connections_info(graph_df, history_df, change_connections_info=True)
else:
works_info = set_connections_info(graph_df, history_df, expert_connections_info=True)
# works_info = preprocess_graph_df(works_info)

return break_loops_in_input_graph(works_info)

Expand Down
2 changes: 1 addition & 1 deletion sampo/userinput/parser/general_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def eliminate_cycle(self, cycle):
u, v = min_edge
self.graph[u] = [(neighbor, weight) for neighbor, weight in self.graph[u] if neighbor != v]

def eliminate_cycles(self, eliminate_cycle: bool = True):
def eliminate_cycles(self, eliminate_cycle: bool = True) -> list | None:
cycle = self.find_cycle()
cycles = []

Expand Down

0 comments on commit 561e902

Please sign in to comment.