Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the task start time in messenger file #398

Open
Hoda1394 opened this issue Dec 23, 2020 · 2 comments
Open

Adding the task start time in messenger file #398

Hoda1394 opened this issue Dec 23, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Hoda1394
Copy link

Right now the messenger gives only the time that a task is ended and whether it is errored or not. It would be useful if the start time is also added. here is an example of setting a messenger with AuditFlag.PROV gives;

{ "@context": "https://raw.githubusercontent.com/nipype/pydra/master/pydra/schema/context.jsonld", "@id": "uid:f3347534cb9f461fb6d8f710ff74f1de", "endedAtTime": "2020-11-19T12:17:23.382187", "errored": false }

@Hoda1394 Hoda1394 added the enhancement New feature or request label Dec 23, 2020
@satra
Copy link
Contributor

satra commented Dec 23, 2020

there should be a corresponding startedAtTime message as well:

https://github.com/nipype/pydra/blob/master/pydra/engine/audit.py#L49

@Hoda1394
Copy link
Author

Thanks for the pointer. I think it does what I need. I will try it and report the results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants