def __init__(self, *args, **kwargs):
        if 'log' in kwargs:
            self.log = kwargs['log']
            del kwargs['log']
        else:
            self.log = None
        if 'workflow' in kwargs:
            self.workflow = kwargs['workflow']
            del kwargs['workflow']
        elif 'pipeline' in kwargs:
            self.workflow = kwargs['pipeline']
            del kwargs['pipeline']
        else:
            self.workflow = None
        if 'registry' in kwargs:
            self.registry = kwargs['registry']
            del kwargs['registry']
        else:
            self.registry = None
        if kwargs in 'version':
            self.version = kwargs['version']
            del kwargs['version']
        else:
            self.version = None
        DBOpmGraph.__init__(self, *args, **kwargs)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/log/opm_graph.py/OpmGraph.__init__/swapped operands of `in`