my ($self) = @_;
return {
%{ $self->SUPER::default_options() }, # inherit from parent
# Please note: ENVironment variables may be "exported" to inherit from enclosing shell,
# but if you want to *prevent* that you need to specifically say so
# (setting a password to empty string does exactly that - sets it to an empty string)
#
# [bash] export -n ENSEMBL_CVS_ROOT_DIR # will stop exporting, but the value in current shell stays as it was
# [tcsh] unsetenv ENSEMBL_CVS_ROOT_DIR # will destroy the variable even in current shell, and stop exporting
'ensembl_cvs_root_dir' => $ENV{'ENSEMBL_CVS_ROOT_DIR'} || $self->o('ensembl_cvs_root_dir'), # it will make sense to set this variable if you are going to use ehive with ensembl
'ensembl_release' => Bio::EnsEMBL::ApiVersion::software_version(), # snapshot of EnsEMBL Core API version. Please do not change if not sure.
'rel_suffix' => '', # an empty string by default, a letter otherwise
'rel_with_suffix' => $self->o('ensembl_release').$self->o('rel_suffix'),
'pipeline_name' => $self->pipeline_name().'_'.$self->o('rel_with_suffix'),
'user' => $ENV{'EHIVE_USER'} || 'ensadmin',
'password' => $ENV{'EHIVE_PASS'}
};
}