Skip to content

Releases: bio-guoda/preston

0.10.0

05 Nov 20:25
Compare
Choose a tag to compare

Features

Now, specific pages in pdf resources can be addressed using a notation with syntax:

pdf:[some content id]!/p[some page number]

page (sub)ranges are supported similar to the line: notation -

Examples of Content-based Page Addressing

page 20 of Anderson 1912 as identified by hash://md5/56384a6778e2c67bbd8ebe4d63f770cf

pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p20

pages 20-24 of Anderson 1912:

pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p20-p24

pages 2-4 and pages 20-24

pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24

These page addresses can be combined with preston commands cat:

preston cat\
 'pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24'\
 > some.pdf

as well as preston in server mode, with example of https://linker.bio -

https://linker.bio/pdf:hash://md5/56384a6778e2c67bbd8ebe4d63f770cf!/p2-p4,p20-p24

Improvements

Bugs

0.9.9

0.9.8

10 Sep 18:21
Compare
Choose a tag to compare

Features

n/a

Improvements

n/a

Bugs

  • use appropriate Zenodo API syntax for selecting records of a specific type, avoiding false positive detection of records of a specific type, and instead match records with similar alternative identifiers. (related to zenodo/zenodo#2545 and darktaxon/mfn-malaisetrap#7). Big thanks to @asrivathsan for pointing out effects of this overly greedy query results.

0.9.7

0.9.6

06 Sep 21:09
Compare
Choose a tag to compare

Features

n/a

Improvements

n/a

Bugs

  • introduce key images for physical specimen in context of DarkTaxon project (see darktaxon/darktaxon#18)
  • encode Zenodo search queries (with html landing pages/ json structured data) into Photo/Physical Object/Event deposits (see darktaxon/darktaxon#19)

0.9.5

06 Sep 05:18
Compare
Choose a tag to compare

Features

n/a

Improvements

n/a

Bugs

  • avoid "null" values in Zenodo metadata due to explicit "null" values for some DwC terms.
    image

0.9.4

06 Sep 04:51
Compare
Choose a tag to compare

Features

n/a

Improvements

  • introduce --restricted-access-only to only submit Zenodo deposits with restricted access
  • introduce --new-version to create new version for existing Zenodo deposits
  • introduce --update-metadata-only to only update metadata for existing Zenodo deposits.

Example usage:

    ... | preston zenodo --restricted-access-only
    ... | preston zenodo --new-version-only
    ... | preston zenodo --update-metadata-only
  • first pass at translating DwC records into Zenodo Deposits. Example workflow:
# translate dwc-a zip into line json
cat dwca.zip | preston track | preston dwc-stream > dwc.json
# translate line json into Zenodo metadata records
cat dwc.json | preston track | preston darktaxon-stream > zenodo.json
# submit Zenodo metadata records
cat zenodo.json | preston track | preston zenodo

Bugs

n/a

0.9.3

0.9.2

28 Aug 21:58
Compare
Choose a tag to compare

Features

n/a

Improvements

Bugs

n/a

0.9.1

28 Aug 18:01
Compare
Choose a tag to compare