Closed jordanpadams closed 3 years ago
The code for "p-lines" currently is:
_pLineMatcher = re.compile(r'^P,\s*([^\s]+)::([^\s]+)')
So it currently matchies capital P
. I think the issue title and "to reproduce" are flipped.
I'll add a test case that includes mixed case P
/p
to test in case (see what I did there š) case-insensitivity is working.
š Describe the bug
The SIP/transfer/checksum manifest files in a Deep Archive package do not list a primary basic product designated by lowercase āpā in the collection inventory file. The Standards do not appear to restrict the membership value to uppercase āPā or āSā in a collection inventory file.
š To Reproduce
Run
pds-deep-archive
against a collection specifying a primary product withP
instead ofp
šµļø Expected behavior
pds-deep-archive
should be case agnostic when it comes to specifying primary/secondary products.š¦ Related requirements
āļø Engineering Details