99d2d1aced54a9673b9e25b6c1f992acd20535e1,common/data_refinery_common/rna_seq.py,,get_quant_results_for_experiment,#Any#,74
Before Change
results = []
for sample in experiment.samples.all():
// TODO: this will break when we want to run for a new version.
result = sample.results\
.filter(processor__name=ProcessorEnum.SALMON_QUANT.value["name"])\
.order_by("-created_at")\
.first()
if result:
results.append(result)
return results
def get_quant_files_for_results(results: List[ComputationalResult]):
After Change
.values_list("latest_computational_result_id", flat=True)
// return the computational results that match those ids
return ComputationalResult.objects.all().filter(
id__in=computational_results_ids
)
def get_quant_files_for_results(results: List[ComputationalResult]):
Returns a list of salmon quant results from `experiment`.
quant_files = []
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: AlexsLemonade/refinebio
Commit Name: 99d2d1aced54a9673b9e25b6c1f992acd20535e1
Time: 2019-08-16
Author: arielsvn@gmail.com
File Name: common/data_refinery_common/rna_seq.py
Class Name:
Method Name: get_quant_results_for_experiment
Project Name: HazyResearch/fonduer
Commit Name: 172ba449a36dff9b4668d903ede5bd046a766d65
Time: 2018-09-01
Author: lwhsiao@stanford.edu
File Name: src/fonduer/supervision/labeler.py
Class Name: LabelerUDF
Method Name: apply
Project Name: ChrisCummins/clgen
Commit Name: ead8aee6e69812e199312a16b9e2ce2f78ada0de
Time: 2019-09-26
Author: chrisc.101@gmail.com
File Name: deeplearning/clgen/corpuses/corpuses.py
Class Name:
Method Name: GetVocabFromMetaTable