def add_component(self, name, status, info=[], error=[], warn=[]):
        if not self.result['componentResults']:
            self.result['componentResults'] = {}

        self.result['componentResults'][name] = {
            'status': status,
            'messages'   : {
                'info' : info,
                'error': error,
                'warn' : warn,
            },
        }
Cleanup function that is run when destroying the class instance             that ensures that all the file writing threads exit.
dataset/ETHPy150Open gooddata/smoker/smoker/server/plugins/__init__.py/Result.add_component--crossover with--dataset/ETHPy150Open BD2KGenomics/toil/src/toil/job.py/Job.FileStore.__del__