Place ruffus database in temporary folder

Because we don't really use ruffus checkpoint feature, putting the
database in a permanent location does not help anything, but does cause
large database files and problems if the .ruffus_history.sqlite wanted
to be in a writable location.
This commit is contained in:
James R. Barlow
2016-01-04 13:23:47 -08:00
parent 9aa3d340d4
commit 61b3ccb57c
+1
View File
@@ -790,6 +790,7 @@ def run_pipeline():
if not options.jobs or options.jobs == 1:
options.jobs = available_cpu_count()
try:
options.history_file = os.path.join(work_folder, 'ruffus_history.sqlite')
cmdline.run(options)
except ruffus_exceptions.RethrownJobError as e:
if options.verbose: