Add getDefaultOrganism(), getOrganism(), and setOrganism(), where:
setOrganism() sets the organism field of the object, which by default is not set (=NULL).
getOrganism() gets the organism field. if not set, then falls back to returning getDefaultOrganism().
getDefaultOrganism() tries to infers the organism from the aroma-flavored directory structure, e.g. annotationData/organisms/<organism>/Ensembl/79/foo.fa => <organism>. If this fails, an exception is thrown.
Add
getDefaultOrganism()
,getOrganism()
, andsetOrganism()
, where:setOrganism()
sets theorganism
field of the object, which by default is not set (=NULL
).getOrganism()
gets theorganism
field. if not set, then falls back to returninggetDefaultOrganism()
.getDefaultOrganism()
tries to infers the organism from the aroma-flavored directory structure, e.g.annotationData/organisms/<organism>/Ensembl/79/foo.fa
=><organism>
. If this fails, an exception is thrown.