nextflow
nextflow copied to clipboard
add queue process directive as option for trace file
It would be great if the queue process directive could be recorded for each process in the trace file output. My use case is to track costs by knowing which parts of my pipeline ran in which queue.
It should not be difficult to add it. The relevant class is TraceRecord.
It should be enough to add a queue field in the FIELDS map.
Then populate it when the object is created in the getTraceRecord method
Some tests may be updated in TraceRecordTest, TraceFileObserverTest and TaskHandlerTest
Awesome, I'll see what I can do!