-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calculate unique taxonomy version #32
Labels
Comments
Example: create tuples (parent, child), sort with unique entries, concatenate and hash with md5. |
Alternatively, read from file in taxonomy folder and let the versioning be handled externally. |
Preliminary external bourne code: taxonomy_version() { cat "$@" | awk -F '\t' '{if($1 != $3) print $1 "\t" $3}' | LC_COLLATE=C sort -u | md5sum | cut -d ' ' -f 1; }
taxonomy_version nodes.dmp |
fungs
added a commit
that referenced
this issue
Mar 31, 2015
Close this, because it is done externally. Leaves most freedom to use whatever data and version you like. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Derive a tree hash which can be used to identify a taxonomy solely based on its structure (tree + node identifiers).
The text was updated successfully, but these errors were encountered: