parameters: (first, second)
return_statement: return output
docstring: Zips together two list dataset representations. Preserves the sample ID for the
docstring_summary: Zips together two list dataset representations. Preserves the sample ID for the
docstring_tokens: Zips together two list dataset representations . Preserves the sample ID for the
function: def zip_datasets(first, second):
      """
      Zips together two list dataset representations. Preserves the sample ID for the
      """
      output = first
      for sample_key in second.keys():
          sample = second[sample_key]
          if sample.sid in output.keys():
              raise Exception("Attempted to write duplicate sample ID: " + sample.sid)
          output[sample.sid] = sample
      return output
function_tokens: def zip_datasets ( first , second ) : output = first for sample_key in second . keys ( ) : sample = second [ sample_key ] if sample . sid in output . keys ( ) : raise Exception ( "Attempted to write duplicate sample ID: " + sample . sid ) output [ sample . sid ] = sample return output