Skip to content

Commit

Permalink
Refactored basic analysis into a class
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Mar 8, 2019
1 parent 70ff415 commit a6edc28
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 206 deletions.
4 changes: 2 additions & 2 deletions src/macrogen/datings.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ def simplify_timeline(graph: nx.MultiDiGraph):
prev = node


def base_graph() -> nx.MultiDiGraph:
def build_datings_graph() -> nx.MultiDiGraph:
"""
Builds the base graph by parsing the datings from all macrogenesis files from the default directory,
Builds the raw datings graph by parsing the datings from all macrogenesis files from the default directory,
adding them to a new graph and adjusting the timeline.
"""
graph = nx.MultiDiGraph()
Expand Down
Loading

0 comments on commit a6edc28

Please sign in to comment.