Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Map over multiple subtrees #32

Merged
merged 22 commits into from
Sep 2, 2021
Merged

Map over multiple subtrees #32

merged 22 commits into from
Sep 2, 2021

Conversation

TomNicholas
Copy link
Member

Closes #29 🍾

@TomNicholas TomNicholas merged commit 84d4814 into main Sep 2, 2021
This was referenced Sep 2, 2021
@TomNicholas TomNicholas deleted the map_over_multiple_subtrees branch September 2, 2021 16:15
flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
* pseudocode ideas for generalizing map_over_subtree

* pseudocode for a generalized map_over_subtree (still only one return arg) + a new mapping.py file

* pseudocode for mapping but now multiple return values

* pseudocode for mapping but with multiple return values

* check_isomorphism works and has tests

* cleaned up the mapping tests a bit

* tests for mapping over multiple trees

* incorrect pseudocode attempt to map over multiple subtrees

* small improvements

* fixed test

* zipping of multiple arguments

* passes for mapping over a single tree

* successfully maps over multiple trees

* successfully returns multiple trees

* filled out all tests

* checking types now works for trees with only one node

* improved docstring
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

map over multiple subtrees
1 participant