def default_capability(self):
        if ('capability' not in self.md and self.capability_name is not None):
            self.md['capability']=self.capability_name
Set capability name in md
dataset/ETHPy150Open resync/resync/resync/resource_container.py/ResourceContainer.default_capability