libraries/FlowCytometryHelper.rb
def associate_fcs_uploads(key_name, target, uploads)
    if target
      associations = AssociationMap.new(target)
      uploads.each do |up|
        associations.put("U#{up.id}_#{key_name}", up)
      end
      associations.save
    end
  end
# Associate all `uploads` to the `target` DataAssociator. The keys of each upload will be
# the concatenation of `key_name` and that upload's id.
# Associating fcs files to the plan and operation makes fcs data of any specific well
# easily accessible to users
#
# @param [String] key_name  the name which describes this upload set
# @param [Plan] plan  the plan that the uploads will be associated to
# @param [Array<Upload>] uploads  An Array containing several Uploads
# @effects  associates all the given uploads to `plan`, each with a
#         unique key generated from the combining `keyname` and upload id
Associate all `uploads` to the `target` DataAssociator. The keys of each upload will be
the concatenation of `key_name` and that upload's id.
Associating fcs files to the plan and operation makes fcs data of any specific well
easily accessible to users
Associate all ` uploads ` to the ` target ` DataAssociator . The keys of each upload will be the concatenation of ` key_name ` and that upload ' s id . Associating fcs files to the plan and operation makes fcs data of any specific well easily accessible to users
def associate_fcs_uploads(key_name, target, uploads)
    if target
      associations = AssociationMap.new(target)
      uploads.each do |up|
        associations.put("U#{up.id}_#{key_name}", up)
      end
      associations.save
    end
  end
def associate_fcs_uploads ( key_name , target , uploads ) if target associations = AssociationMap . new ( target ) uploads . each do | up | associations . put ( "U#{up.id}_#{key_name}" , up ) end associations . save end end
Associate all `uploads` to the `target` DataAssociator.
Associate all ` uploads ` to the ` target ` DataAssociator .
key_name
target
uploads
uploads An Array containing several Uploads
uploads An Array containing several Uploads
effects
associates all the given uploads to `plan`, each with a unique key generated from the combining `keyname` and upload id
associates all the given uploads to ` plan ` each with a unique key generated from the combining ` keyname ` and upload id