<commit_before>{
  "name" : "Gapfill a Metabolic Model",
  "ver" : "1.0.0",
  "authors" : [ ],
  "contact" : "<EMAIL>",
  "visble" : true,
  "categories" : ["active"],
  "widgets" : {
    "input" : null,
    "output" : "kbaseTabTable"
  },
  "parameters" : [ {
    "id" : "input_model",
    "optional" : false,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ]
    }
  }, {
    "id" : "input_media",
    "optional" : true,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseBiochem.Media" ]
    }
  }, {
    "id" : "output_model",
    "optional" : false,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ],
      "is_output_name":true
    }
  }, {
    "id": "comprehensive_gapfill",
    "optional":false,
    "advanced":true,
    "allow_multiple":false,
    "default_values":["0"],
    "field_type" : "checkbox",
    "checkbox_options":{
      "checked_value": 1,
      "unchecked_value": 0
    }
  }, {
    "id" : "source_model",
    "optional" : true,
    "advanced" : true,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ]
    }
  } ],
  "behavior" : {
    "service-mapping" : {
      "url" : "",
      "name" : "KBaseFBAModeling",
      "method" : "gapfill_model",
      "input_mapping" : [
        {
          "input_parameter": "input_model",
          "target_property": "model"
        },
        {
          "input_parameter": "output_model",
          "target_property": "out_model"
        },
        {
          "input_parameter": "input_media",
          "target_property": "formulation:formulation:media"
        },
        {
          "input_parameter": "comprehensive_gapfill",
          "target_property": "simultaneous"
        },
        {
          "input_parameter": "source_model",
          "target_property": "source_model"
        },
        {
          "constant_value": 1,
          "target_property": "fastgapfill"
        },
        {
          "constant_value": 1,
          "target_property": "integrate_solution"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "workspace"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "model_workspace"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "source_model_ws"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "formulation:formulation:media_workspace"
        }
      ],
      "output_mapping" : [
        {
          "constant_value": "KBaseFBA.FBAModel",
          "target_property": "type"
        },
        {
          "input_parameter": "output_model",
          "target_property": "obj"
        },
        {<commit_msg>Fixing gap filling method to work with slight refectory of gap filling in KBaseFBAModeling<commit_after>{
  "name" : "Gapfill a Metabolic Model",
  "ver" : "1.0.0",
  "authors" : [ ],
  "contact" : "<EMAIL>",
  "visble" : true,
  "categories" : ["active"],
  "widgets" : {
    "input" : null,
    "output" : "kbaseTabTable"
  },
  "parameters" : [ {
    "id" : "input_model",
    "optional" : false,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ]
    }
  }, {
    "id" : "input_media",
    "optional" : true,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseBiochem.Media" ]
    }
  }, {
    "id" : "output_model",
    "optional" : false,
    "advanced" : false,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ],
      "is_output_name":true
    }
  }, {
    "id": "comprehensive_gapfill",
    "optional":false,
    "advanced":true,
    "allow_multiple":false,
    "default_values":["0"],
    "field_type" : "checkbox",
    "checkbox_options":{
      "checked_value": 1,
      "unchecked_value": 0
    }
  }, {
    "id" : "source_model",
    "optional" : true,
    "advanced" : true,
    "allow_multiple" : false,
    "default_values" : [ "" ],
    "field_type" : "text",
    "text_options" : {
      "valid_ws_types" : [ "KBaseFBA.FBAModel" ]
    }
  } ],
  "behavior" : {
    "service-mapping" : {
      "url" : "",
      "name" : "KBaseFBAModeling",
      "method" : "gapfill_model",
      "input_mapping" : [
        {
          "input_parameter": "input_model",
          "target_property": "model"
        },
        {
          "input_parameter": "output_model",
          "target_property": "out_model"
        },
        {
          "input_parameter": "input_media",
          "target_property": "formulation:media"
        },
        {
          "input_parameter": "comprehensive_gapfill",
          "target_property": "simultaneous"
        },
        {
          "input_parameter": "source_model",
          "target_property": "source_model"
        },
        {
          "constant_value": 1,
          "target_property": "fastgapfill"
        },
        {
          "constant_value": 1,
          "target_property": "integrate_solution"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "workspace"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "model_workspace"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "source_model_ws"
        },
        {
          "narrative_system_variable": "workspace",
          "target_property": "formulation:media_workspace"
        }
      ],
      "output_mapping" : [
        {
          "constant_value": "KBaseFBA.FBAModel",
          "target_property": "type"
        },
        {
          "input_parameter": "output_model",
          "target_property": "obj"
        },
        {
{'fraction_non_alphanumeric': 0.16242087386135556, 'fraction_numerical': 0.0024702794503628223, 'mean_word_length': 2.084761904761905, 'pattern_counts': {'":': 70, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '402691', 'n_tokens_mistral': 2218, 'n_tokens_neox': 2173, 'n_words': 317}