original_docstring: 
          Load the input SBOM if one exists
          
docstring: Load the input SBOM if one exists
docstring_tokens: Load the input SBOM if one exists
code: def load_sbom(self):
          """
          Load the input SBOM if one exists
          """
          if self.sbom_path:
              if not self.scan_type:
                  self.scan_type = 'identify'  # Default to the identify SBOM type if it's not set
              self.print_debug(f'Loading {self.scan_type} SBOM {self.sbom_path}...')
              with open(self.sbom_path) as f:
                  self.sbom = f.read()
code_tokens: def load_sbom ( self ) : if self . sbom_path : if not self . scan_type : self . scan_type = 'identify' self . print_debug ( f'Loading {self.scan_type} SBOM {self.sbom_path}...' ) with open ( self . sbom_path ) as f : self . sbom = f . read ( )
short_docstring: Load the input SBOM if one exists
short_docstring_tokens: Load the input SBOM if one exists
comment: """
          Load the input SBOM if one exists
          """$SEP$# Default to the identify SBOM type if it's not set