Delete workflow cache after subject processed

34 views
Skip to first unread message

Kai Schlamp

unread,
Jan 19, 2014, 4:36:37 PM1/19/14
to nipy...@googlegroups.com
Hello Nipype experts!

As we are a bit low on disc space on our computing cluster, we want to directly delete the cache directory of one subject after the processing of that subject finished. The relevant data was already saved then to an output directory (using the DataSink). What is the best approach to do that? Maybe an additional Function node that is connected to the DataSink node without any in/out files?

Best regards,
Kai

Satrajit Ghosh

unread,
Jan 19, 2014, 9:48:44 PM1/19/14
to nipy-user
hi kai,

two possibilities - 

1. adding the function node with one output from datasink would work only if you have your subject as a top level single iterable. you can definitely use this function though to trigger other monitoring services.

2. experimental -  the first config option is default but the next one is experimental and disabled by default but might help in your case.
workflow.config['execution']['remove_unnecessary_outputs' ] = True
workflow.config['execution']['remove_node_directories' ] = True

cheers,

satra


--
 
---
You received this message because you are subscribed to the Google Groups "NiPy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nipy-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages