NASA-PDS / deep-archive

PDS Open Archival Information System (OAIS) utilities, including Submission Information Package (SIP) and Archive Information Package (AIP) generators
https://nasa-pds.github.io/deep-archive/
Other
7 stars 4 forks source link

In registry-based transfer manifests, make second column 255 characters (not 256) #160

Closed nutjob4life closed 6 months ago

nutjob4life commented 6 months ago

🗒️ Summary

The line lengths of transfer manifests generated by the Deep Archive on local labels should all be 511 (✅) characters (not including line terminators). However, @jordanpadams reported in #158 that the line lengths of transfer manifests were 512 (❌) characters. They should be identical.

This patch repairs the problem.

⚙️ Test Data and/or Report

$ pds-deep-registry-archive --quiet --site PDS_GEO urn:nasa:pds:magellan_gxdr::1.0
$ awk '{print length}' magellan_gxdr_v1.0_*_transfer_manifest_v1.0.tab | uniq -c
 109 511
$ echo \405
✅

♻️ Related Issues