__init__(self,
databaseName,
databaseVersion,
databaseFile,
databaseDescription,
defaultExternalEntityAttribute,
databaseDate=None,
externalDatabaseID=None,
isPromiscuous=False)
(Constructor)
| source code
|
Initializes a ExternalDatabase Object
"databaseName" is the name for the external database (i.e.
swissprot, IntAct, Reactome...)
"datavaseVersion" is the version of the database. The
combination of databaseName and databaseVersion must be unique!
"databaseFile" is the parsed database file. If there are
multiple files, it is an empty string
"databaseDescription" is a longer description of the
database (for example, "public repository of interactions of
ncbi", etc.)
"externalDatabaseID" is a unique identifier for the
database. When parsing it should not be added, only when this information
is persistent in the database
"defaultExternalEntityAttribute" is the default attribute
type of the data an external database is providing
"databaseDate" Parsing date. If it is None, automatically
assigns to current date to it "isPromiscuous" Flag deciding
whether database gives information that is going to be added to more than
one user entiries
- Overrides:
object.__init__
|