This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -x | |
| d=prev-`date +"%d-%b-%Y"` | |
| if ! test -d "$d" ; then | |
| mkdir "$d" || exit | |
| fi | |
| if ! test -d "${d}/results" ; then | |
| mkdir "${d}/results" || exit | |
| fi | |
| if ! test -d "${d}/wrappers" ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This requires a build of otcetera that from any branch that incorporates: | |
| # https://github.com/OpenTreeOfLife/otcetera/commit/f29521709b60ee2a4a8e754a7c3a111b22761718 | |
| # As of the writing of this gist that is only the dwca-dump of otcetera | |
| # See also https://github.com/SpeciesFileGroup/2025_workshop_on_taxon_names | |
| set -x | |
| od="${1}" | |
| inp="${2}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Master script using MTH's hard-coded paths used to create darwin core | |
| # archives | |
| # Requires do-dwca-export.sh available from https://gist.github.com/mtholder/f733a75fe1616af1841ded62aadb4f04 | |
| # See also https://github.com/SpeciesFileGroup/2025_workshop_on_taxon_names | |
| set -x | |
| od=ott3.7.2-dwca |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tweaked example script from qwikidata | |
| import sys | |
| import time | |
| from qwikidata.entity import WikidataItem | |
| from qwikidata.json_dump import WikidataJsonDump | |
| from qwikidata.utils import dump_entities_to_json | |
| from subprocess import call | |
| P_IS_INSTANCE_OF = "P31" | |
| Q_TAXON = "Q16521" |
OlderNewer