[DAMD-55] Change catId formatting from %3d to %03d Created: 06/May/19 Updated: 24/May/19 Resolved: 24/May/19 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | hassan | Assignee: | hassan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Story Points: | 1 | ||||||||
| Description |
|
Currently the catId component in the filenames for pfsObject, pfsSimObject and pfsZcandidates are formatted as %3d instead of %03d - ie., no zero padding: "pfsObject-%05d-%s-%3d-%08x-%02d-0x%08x.fits" % (tract, patch, catId, objId, nVisit % 100, pfsVisitHash)
"pfsSimObject-%05d-%s-%3d-%08x.fits" % (tract, patch, catId, objId)
"pfsZcandidates-%05d-%s-%3d-%08x-%02d-0x%08x.fits" % (tract, patch, catId, objId, nVisit % 100, pfsVisitHash)
Please change to %03d to ensure fixed field width for all numerical components. |
| Comments |
| Comment by hassan [ 24/May/19 ] |
|
Merged to master (commit cba5ab3). |