Explorar el Código

reformat paramater arrays for two analysis related api

Jiu9Shen hace 5 años
padre
commit
0dde5f0397
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. 8 2
      tripal_jbrowse_mgmt/includes/tripal_jbrowse_mgmt_add.form.inc

+ 8 - 2
tripal_jbrowse_mgmt/includes/tripal_jbrowse_mgmt_add.form.inc

@@ -44,8 +44,14 @@ function tripal_jbrowse_mgmt_add_form($form, &$form_state) {
     '#weight' => -8,
   ];
 
-  $analysis_term_entity = tripal_load_term_entity(['vocabulary'=>'operation', 'accession'=>'2945']);
-  $analysis_bundle_entity = tripal_load_bundle_entity(['term_id'=>$analysis_term_entity->id]);
+  $analysis_term_entity = tripal_load_term_entity([
+    'vocabulary'=>'operation',
+    'accession'=>'2945',
+  ]);
+  
+  $analysis_bundle_entity = tripal_load_bundle_entity([
+    'term_id'=>$analysis_term_entity->id,
+  ]);
 
   $form['analysis'] = [
     '#title' => t('Analysis'),