def _position_metadata(self, position_name):
    position_dir = (self.data_dir / position_name)
    metadata_path = (position_dir / 'position_metadata.json')
    if metadata_path.exists():
        with metadata_path.open('r') as f:
            position_metadata = json.load(f)
    else:
        position_metadata = []
    return (position_dir, metadata_path, position_metadata)
def _position_metadata(self, position_name):
    position_dir = (self.data_dir / position_name)
    metadata_path = (position_dir / 'position_metadata.json')
    if metadata_path.exists():
        with metadata_path.open('r') as f:
            position_metadata = json.load(f)
    else:
        position_metadata = []
    return (position_dir, metadata_path, position_metadata)