Skip to content

Condense installation into oz_tree_build/README#116

Merged
lentinj merged 7 commits intomainfrom
documentation-updates
Nov 6, 2025
Merged

Condense installation into oz_tree_build/README#116
lentinj merged 7 commits intomainfrom
documentation-updates

Conversation

@lentinj
Copy link
Collaborator

@lentinj lentinj commented Nov 3, 2025

Include all the relevant downloads & environment variables in oz_tree_build, so it's more of a one-stop-shop for building a tree.

Include examples of fetching data using wget, based on OT environment variables. To do this we need to change OT_VERSION to "15.2" rather than "15_2", but given this only seems to affect the naming of draftversions, it should be fine.

There is very likely no /usr/bin/python set up on the OS nowadays,
assuming python3 is more C+P-friendly.
The OpenTree API returns . and uses . in it's URL, so using a . here
too means we can use the environment variable to fetch a given version
directly.

Otherwise it just seems to be a convention to
draftversion${OT_VERSION}.tre naming, so shouldn't upset anything else.
Collect together the required setup steps from /README & data/README
into oz_tree_build, so it's closer to a single runnable script.

* Set environment variables from /README
* Summarise/script download steps from data/REAME
Someone might have forgotten...
The script tries to empty it, if there's nothing there it will fall
over.

As a quick bodge, put something in it before deleting it.
There doesn't seem to be any explicit step to untar the taxonomy, so
add one here.
@lentinj lentinj force-pushed the documentation-updates branch from 9a7e3ee to fb3093a Compare November 3, 2025 15:03
If we just give it the tarball, then we try and read the tar as file
contents. Which nearly works, bar the tarball noise at either end.
@lentinj lentinj merged commit 2b5d1c2 into main Nov 6, 2025
2 checks passed
@lentinj lentinj deleted the documentation-updates branch November 6, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant