All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added .github/dependabot.yml file to auto-update GitHub actions
- An existing bug in constructing a JSON representation for a Pydantic model when the plate_number attribute is 2 or larger resulted in incorrect IDs being generated. The fix includes a return to using Pydantic models' built-in model_dump_json method in order to mitigate the risk that comes with manual generation of JSON strings.
- Stopped the mutation of the
plate_number
attribute at the time the PacBioEntity object instance is created. The value of theplate_number
attribute is now stored and retrieved as supplied. As a consequence, the JSON string returned by themodel_dump_json
method of this Pydantic object is now different whenplate_namber
value is 1. - To retain backwards compatibility, the
hash_product_id
method is reimplemented since it can no longer use for ID generation the string returned by themodel_dump_json
method.
- Upgrade python pydantic dependency to v2
- Add an extra PacBio entity attribute - plate_number.
- Add validators for well label and tag patterns
- Improve generator script help messages and change so that only named arguments are used
- Make tag argument repeatable and add internal logic for concatenation
- Fixed a logical error in product id generation - the order or tags should not be changed by the generator.
- Add tags argument to generate_pac_bio_id
- Sort tags on creation of PacBioEntity object
- Ability to generate a product id for a PacBio well