9c8304b9f70bc58317f012dd7c9d17e1fb16845c,foreman/data_refinery_foreman/surveyor/array_express.py,ArrayExpressSurveyor,create_experiment_from_api,#ArrayExpressSurveyor#Any#,44
Before Change
experiment_object.save()
platform_dict = {k: experiment[k]
for k in ("platform_accession_code", "platform_accession_name")}
return experiment_object, platform_dict
def determine_sample_accession(self, experiment_accession: str, sample_source_name: str, sample_assay_name: str, filename: str) -> str:
After Change
// Illumina appears in the accession codes for
// platforms manufactured by Illumina
if "ILLUMINA" in experiment["platform_accession_code"].upper():
experiment["manufacturer"] = "ILLUMINA"
experiment["platform_accession_name"] = platform["platform_accession"]
else:
// It"s not Illumina, the only other supported Microarray platform is
// Affy. As our list of supported platforms grows this logic will
// need to get more sophisticated.
experiment["manufacturer"] = "AFFYMETRIX"
platform_mapping = get_readable_affymetrix_names()
experiment["platform_accession_name"] = platform_mapping[
platform["platform_accession"]]
if "platform_accession_code" not in experiment:
// We don"t know what platform this accession corresponds to.
experiment["platform_accession_code"] = external_accession
experiment["platform_accession_name"] = UNKNOWN
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: AlexsLemonade/refinebio
Commit Name: 9c8304b9f70bc58317f012dd7c9d17e1fb16845c
Time: 2018-06-13
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/array_express.py
Class Name: ArrayExpressSurveyor
Method Name: create_experiment_from_api
Project Name: CellProfiler/CellProfiler
Commit Name: b9cb934ba9e6f25edb3a10c9923bb0ec6d5a0ca9
Time: 2009-12-30
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/relate.py
Class Name: Relate
Method Name: upgrade_settings
Project Name: interactiveaudiolab/nussl
Commit Name: 441a175deaa5812c086cdb8a3939d51d39f5a7ae
Time: 2020-01-26
Author: prem@u.northwestern.edu
File Name: nussl/deep/train/trainer.py
Class Name: Trainer
Method Name: setup_loss