[DAMD-144] write pfsConfig per visitId not per visit0 Created: 23/Nov/22 Updated: 13/Dec/22 Resolved: 13/Dec/22 |
|
| Status: | Done |
| Project: | Data Model |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | arnaud.lefur |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Sprint: | PreEngRun09Dec | ||||||||||||
| Reviewers: | price | ||||||||||||
| Description |
|
pfsConfig will now be written for each visit, instead of visit0 only. |
| Comments |
| Comment by arnaud.lefur [ 01/Dec/22 ] |
|
It's not a trivial change, so before I'm going any further, I want to make sure, we're on the same page on this. if we keep the current schema:
If we decide to change, my original though was to directly replace visit0 by visit but I think that's nuts actually.
|
| Comment by rhl [ 01/Dec/22 ] |
|
I don't understand this. Maybe we can chat this afternoon? |
| Comment by arnaud.lefur [ 02/Dec/22 ] |
|
After some discussions with cloomis, we definitely eliminated the symlink option.
pfsConfig files will be written to /data/raw/$DATE/pfsConfig |
| Comment by price [ 02/Dec/22 ] |
|
I don't think DRP2D has ever really implemented the visit0 concept. I'm fully in favour of dumping it and just using visit. I think that must be easier for everyone. |
| Comment by price [ 03/Dec/22 ] |
|
Why are we not dropping visit0 completely, in favour of visit? I think that gives us everything we need for pfsConfig. Maybe there are subtleties further upstream that I'm not aware of? |
| Comment by price [ 03/Dec/22 ] |
|
Ack, just realised that I commented directly on the GitHub commits, rather than a PR. arnaud.lefur, would you please create a PR? |
| Comment by price [ 08/Dec/22 ] |
|
Made a couple of suggestions on the PR. |
| Comment by price [ 13/Dec/22 ] |
|
I added a commit to drp_stella to adjust to these changes, and the integration test now passes. |
| Comment by arnaud.lefur [ 13/Dec/22 ] |
|
Good. I'm ready to merge. |