f87c298e1bbcf531cb0af44f022764f944e71492,common/data_refinery_common/models/models.py,OriginalFile,needs_processing,#OriginalFile#Any#,757

Before Change


            return False

        if sample.source_database == "SRA":
            for computed_file in sample.computed_files.prefetch_related("result__organism_index").all():
                    if computed_file.s3_bucket and computed_file.s3_key \
                       and computed_file.result.organism_index != None \
                       and computed_file.result.organism_index.salmon_version == CURRENT_SALMON_VERSION:

After Change


            computed_file = sample.get_most_recent_smashable_result_file()

            // If there"s no smashable file then we should check the quant.sf file.
            if not computed_file:
                computed_file = sample.get_most_recent_quant_sf_file()

            // If there"s neither a quant.sf file nor a smashable file
            // then we definitely need to process it.
            if not computed_file:
                return True

            if computed_file.s3_bucket and computed_file.s3_key \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: f87c298e1bbcf531cb0af44f022764f944e71492
Time: 2019-09-24
Author: kurt.wheeler91@gmail.com
File Name: common/data_refinery_common/models/models.py
Class Name: OriginalFile
Method Name: needs_processing


Project Name: AlexsLemonade/refinebio
Commit Name: 5f05bcb969ec6a310fd91c259f89ac9e7a0292a0
Time: 2019-07-31
Author: willvauclain.dev@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/create_missing_downloader_jobs.py
Class Name: Command
Method Name: handle


Project Name: polyaxon/polyaxon
Commit Name: 8d0adba43fde7d042161562660410342d7808b41
Time: 2019-06-15
Author: mouradmourafiq@gmail.com
File Name: polyaxon/registry/registry_context.py
Class Name:
Method Name: get_registry_context