Commit 78d0c2d4 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed job status 'pending' instead of 'running'. Temporarily added deleter for...

Fixed job status 'pending' instead of 'running'. Temporarily added deleter for already processed data.

updated __version__


Former-commit-id: c7c3ab40
parent 71d87cfc
......@@ -15,7 +15,7 @@ from . import config
from .processing.process_controller import process_controller
__version__ = '20170406.01'
__version__ = '20170406.02'
__author__ = 'Daniel Scheffler'
__all__ = ['algorithms',
'io',
......
......@@ -87,6 +87,9 @@ class process_controller(object):
self.logger.info('Process Controller initialized for job ID %s (comment: %s).'
% (self.job.ID, self.DB_job_record.comment))
self.logger.info('Deleting previously processed data...')
self.DB_job_record.delete_procdata_of_entire_job(force=True) # FIXME
@property
def logger(self):
......@@ -349,9 +352,9 @@ class process_controller(object):
self.profiler.start()
self.logger.info('Execution of entire GeoMultiSens pre-processing chain started...')
self.DB_job_record.reset_job_progress() # updates attributs of DB_job_record and related DB entry
self.job.status = 'running'
self.update_DB_job_record() # TODO implement that into job.status.setter
self.DB_job_record.reset_job_progress() # updates attributs of DB_job_record and related DB entry
self.failed_objects = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment