[DAMD-116] Add check in PfsDesign to ensure that object identifiers are unique Created: 30/Jul/21 Updated: 05/Aug/21 Resolved: 05/Aug/21 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | hassan | Assignee: | hassan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 1 |
| Sprint: | 2DDRP-2021 A 7, 2DDRP-2021 A 8 |
| Reviewers: | price |
| Description |
|
Add check to ensure that at creation time the sequence of passed objId s are unique when creating a PfsDesign . Motivation for this ticket: design files provided for simulated object spectra were unfortunately discovered to have duplicate object ids, which affects processing. Additional checks may be needed, but these will be filed as separate tickets. |
| Comments |
| Comment by price [ 30/Jul/21 ] |
|
The combination of catId,objId must be unique. |
| Comment by hassan [ 04/Aug/21 ] |
|
Code change also checked against pfsDesign s provided by Sean Johnson. |
| Comment by hassan [ 05/Aug/21 ] |
|
Paul informs me the fixes are acceptable. |
| Comment by hassan [ 05/Aug/21 ] |
|
Merged to master. |