Skip to content

Commit

Permalink
Merge pull request #5 from YosefLab/docs-update
Browse files Browse the repository at this point in the history
added getting started
  • Loading branch information
colganwi authored Feb 26, 2024
2 parents 8092857 + 5e1059e commit b6ab655
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 b6ab655

Please sign in to comment.