Skip to content

Commit

Permalink
added getting started
Browse files Browse the repository at this point in the history
  • Loading branch information
colganwi committed Feb 26, 2024
1 parent 64a0f70 commit 5e1059e
Show file tree
Hide file tree
Showing 4 changed files with 708 additions and 79 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
:hidden: true
:maxdepth: 1
notebooks/getting-started
api.md
changelog.md
contributing.md
references.md
notebooks/example
```
76 changes: 0 additions & 76 deletions docs/notebooks/example.ipynb

This file was deleted.

705 changes: 705 additions & 0 deletions docs/notebooks/getting-started.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/treedata/_core/aligned_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _validate_tree(self, tree: nx.DiGraph, key: str) -> nx.DiGraph:
new_leaves = leaves
if new_leaves.intersection(self._leaf_to_tree.keys()):
raise ValueError(
"Leaf names overlap with leaf names of other trees.", "Set `allow_overlap=True` to allow this"
"Leaf names overlap with leaf names of other trees. Set `allow_overlap=True` to allow this."
)
return tree, leaves

Expand Down

0 comments on commit 5e1059e

Please sign in to comment.