Tripal
Public Member Functions | List of all members
Drupal\tripal_chado\Commands\ChadoManageCommands Class Reference
Inheritance diagram for Drupal\tripal_chado\Commands\ChadoManageCommands:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Commands\ChadoManageCommands:
Collaboration graph
[legend]

Public Member Functions

 installChado ($options=['schema-name'=> 'chado', 'chado-version'=> 1.3])
 
 dropChado ($options=['schema-name'=> 'chado'])
 
 prepareChado ($options=['schema-name'=> 'chado'])
 
 setupTests ()
 

Detailed Description

Drush commands

Member Function Documentation

◆ dropChado()

Drupal\tripal_chado\Commands\ChadoManageCommands::dropChado (   $options = ['schema-name' =,
'chado']   
)

Drops the Chado schema.

@command tripal-chado:drop-chado @aliases trp-drop-chado @options schema-name The name of the schema to drop. @usage drush trp-drop-chado –schema-name='testchado' Removes the chado schema named "testchado".

◆ installChado()

Drupal\tripal_chado\Commands\ChadoManageCommands::installChado (   $options = ['schema-name' =,
'chado'  ,
'chado-version'  ,
1.3]   
)

Install the Chado schema.

@command tripal-chado:install-chado @aliases trp-install-chado @options schema-name The name of the schema to install chado in. @options chado-version The version of chado to install. Currently only 1.3 is supported. @usage drush trp-install-chado –schema-name='testchado' –version=1.3 Installs chado 1.3 in a schema named "testchado".

◆ prepareChado()

Drupal\tripal_chado\Commands\ChadoManageCommands::prepareChado (   $options = ['schema-name' =,
'chado']   
)

Prepare the Tripal Chado system.

@command tripal-chado:prepare @aliases trp-prep-chado @options schema-name The name of the chado schema to prepare. Only a single chado schema should be prepared with Tripal and this will become the default chado schema. @usage drush trp-prep-chado –schema-name="chado" Prepare the Tripal Chado system and set the schema named "chado" as the default Chado instance to use with Tripal.

◆ setupTests()

Drupal\tripal_chado\Commands\ChadoManageCommands::setupTests ( )

Set-up the Tripal Chado test environment.

@command tripal-chado:setup-tests @aliases trp-prep-tests @usage drush trp-prep-tests Sets up the standard Tripal Chado test environment.


The documentation for this class was generated from the following file: