neuroarch.na.NeuroArch.add_DataSource

NeuroArch.add_DataSource(name, version, url=None, description=None, species=None)[source]

Add a DataSource.

Parameters:
  • name (str) – Name of the DataSource.

  • version (str) – Version of the Dataset.

  • url (str) – Web URL describing the origin of the DataSource

  • description (str) – A brief description of the DataSource

  • species (dict or models.Species) – The species the added DataSource is for. If species is a dict, it must be contain the following keys: {‘name’: str, ‘stage’: str, ‘synonyms’: list of str (optional) }

Returns:

datasource – created DataSource object

Return type:

models.DataSource