Skip to content

Commit

Permalink
Make some form elements optional for blast database setup
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-a-s committed Sep 27, 2024
1 parent 4ec40bd commit cc8413c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Form/TripalBlastDatabaseForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function form(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('Extract Regular Expression'),
'#description' => $this->t('The Regular Expression to use to extract the id from the FASTA header of the BLAST database hit.'),
'#required' => TRUE,
'#required' => FALSE,
'#default_value' => $blast_db->getDbXrefRegExp()
];

Expand All @@ -97,7 +97,7 @@ public function form(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('BLAST database reference'),
'#description' => $this->t('The Database records from this BLAST Database reference.'),
'#required' => TRUE,
'#required' => FALSE,
'#default_value' => $blast_db->getDbXref()
];

Expand All @@ -107,7 +107,7 @@ public function form(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('BLAST database reference linkout type'),
'#description' => $this->t('Type of linkout to be used for this database reference.'),
'#required' => TRUE,
'#required' => FALSE,
'#default_value' => $blast_db->getDbXrefLinkout()
];

Expand Down

0 comments on commit cc8413c

Please sign in to comment.