Skip to content

Root node prep#52

Merged
dan-knight merged 6 commits intomainfrom
danknight-check-root
Sep 7, 2022
Merged

Root node prep#52
dan-knight merged 6 commits intomainfrom
danknight-check-root

Conversation

@dan-knight
Copy link
Contributor

@dan-knight dan-knight commented Sep 2, 2022

Closes #45. This checks for a valid root node (parent value NA, 0, or -1) and raises an error if an invalid tree structure is provided (no root node, or more than one root node).

@dan-knight dan-knight added the bug Something isn't working label Sep 2, 2022
@dan-knight dan-knight requested a review from lydiayliu September 2, 2022 21:33
@dan-knight dan-knight merged commit a2db8ab into main Sep 7, 2022
@dan-knight dan-knight deleted the danknight-check-root branch September 7, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for missing root node

2 participants