Skip to content

Commit

Permalink
Merge pull request #112 from shreyas-a-s/make-fields-optional
Browse files Browse the repository at this point in the history
Make some form elements optional for blast database setup
  • Loading branch information
laceysanderson authored Oct 8, 2024
2 parents 3de5ba7 + cc8413c commit 87664b8
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 87664b8

Please sign in to comment.