[PIPE2D-1285] Allow generateCommands.py to control --doraise and --longlog Created: 16/Aug/23 Updated: 24/Aug/23 Resolved: 24/Aug/23 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | pfs_pipe2d |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | sogo.mineo |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Reviewers: | price |
| Description |
|
generateCommands.py should accept and pass though the task - |
| Comments |
| Comment by sogo.mineo [ 22/Aug/23 ] |
|
Should I make both - |
| Comment by sogo.mineo [ 23/Aug/23 ] |
|
Another question: What is the argument of --longlog option? |
| Comment by price [ 23/Aug/23 ] |
|
--doraise causes iteration over the dataId to immediately cease, and to raise the exception (allowing it to be trapped if you run under pdb with a single process). If you leave it off, the command will continue iterating and log at the end how many failed. |
| Comment by sogo.mineo [ 23/Aug/23 ] |
|
Thanks. As for --longlog, I think it will be enough if I always add --longlog=1 to the command lines. |
| Comment by price [ 23/Aug/23 ] |
|
I think that's right. |
| Comment by sogo.mineo [ 23/Aug/23 ] |
|
Could you review the PR? I have made --doraise controllable according to the request, but I have decided to always use --longlog option. |
| Comment by sogo.mineo [ 24/Aug/23 ] |
|
Merged. Thanks for reviewing. |