'Returns track configuration dict for a dataset.'

def get_new_track_config(self, trans, dataset):

    track_data_provider = trans.app.data_provider_registry.get_data_provider(trans, original_dataset=dataset)
    return {'track_type': dataset.datatype.track_type, 'name': dataset.name, 'dataset': trans.security.encode_dict_ids(dataset.to_dict()), 'prefs': {}, 'filters': {'filters': track_data_provider.get_filters()}, 'tool': self.get_tool_def(trans, dataset), 'tool_state': {}}
