3535d18e63a7b90b92dd11dcad06e9a74bb7cce5,common/data_refinery_common/rna_seq.py,,get_quant_files_for_results,#Any#,117
Before Change
for result in results:
try:
quant_files.append(
ComputedFile .objects.filter(
result=result,
filename="quant.sf",
s3_key__isnull=False ,
s3_bucket__isnull=False,
).order_by("-id")[0]
)
After Change
for result in results:
quant_sf_file = result.get_quant_sf_file()
if quant_sf_file:
quant_files.append(quant_sf_file)
else:
logger.exception(
"Salmon quant result found without quant.sf ComputedFile!",
quant_result=result.id,
sample=result.samples.first(),
)
raise Exception("Salmon quant result found without quant.sf ComputedFile!")
return quant_files
ENA_DOWNLOAD_URL_TEMPLATE = (
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: AlexsLemonade/refinebio
Commit Name: 3535d18e63a7b90b92dd11dcad06e9a74bb7cce5
Time: 2020-01-08
Author: arielsvn@gmail.com
File Name: common/data_refinery_common/rna_seq.py
Class Name:
Method Name: get_quant_files_for_results
Project Name: AlexsLemonade/refinebio
Commit Name: f1aba98889fe38cdb66219911436a7cb0a22aa84
Time: 2020-07-27
Author: willvauclain.dev@gmail.com
File Name: api/data_refinery_api/views/dataset.py
Class Name:
Method Name: validate_dataset
Project Name: AlexsLemonade/refinebio
Commit Name: bf4d4be450616eeb0252b276c9febc4a50e83ace
Time: 2020-07-06
Author: willvauclain.dev@gmail.com
File Name: api/data_refinery_api/views/dataset.py
Class Name:
Method Name: validate_dataset