You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: row.rb
    path of file: ./repos/sequencescape/app/sample_manifest_excel/sample_manifest_excel/upload
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module SampleManifestExcel
  module Upload
    ##
    # A Row relates to a row in a sample manifest spreadsheet.
    # Each Row relates to a sample
    # Required fields:
    # *num
    
      def create_specialised_fields
        return [] unless columns.present? && data.present? && sanger_sample_id.present?

        specialised_fields =
          columns.with_specialised_fields.map do |column|
            column.specialised_field.new(value: at(column.number), sample_manifest_asset: manifest_asset)
          end

        specialised_fields.tap { |fields| link_tag_groups_and_indexes(fields) }
      end