0a1b0378eadeb1a9f2f3ac8b1fbe1463c7006733,foreman/data_refinery_foreman/surveyor/sra.py,SraSurveyor,gather_all_metadata,#Any#,253

Before Change


        esa = ExperimentSampleAssociation()
        esa.experiment = experiment_object
        esa.sample = sample_object
        esa.save()

        ////
        // Samples K/V
        // TODO - What do we want to save here?

After Change


            association.sample = sample_object
            association.save()

        try:
            assocation = ExperimentOrganismAssociation.objects.get(experiment=experiment_object, organism=organism)
        except ExperimentOrganismAssociation.DoesNotExist:
            association = ExperimentOrganismAssociation()
            association.experiment = experiment_object
            association.organism = organism
            association.save()

        ////
        // Samples K/V
        // TODO - What do we want to save here?
        ////

        return experiment_object, [sample_object]

    @staticmethod
    def get_next_accession(last_accession: str) -> str:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: 0a1b0378eadeb1a9f2f3ac8b1fbe1463c7006733
Time: 2018-05-02
Author: rich@anomos.info
File Name: foreman/data_refinery_foreman/surveyor/sra.py
Class Name: SraSurveyor
Method Name: gather_all_metadata


Project Name: comic/grand-challenge.org
Commit Name: 8f99d532baf09b23d74843575bb3235e15456dc1
Time: 2018-02-16
Author: jamesmeakin@gmail.com
File Name: app/evaluation/tasks.py
Class Name:
Method Name: calculate_ranks


Project Name: comic/grand-challenge.org
Commit Name: 719f9dcc37a8b4ffacdeb89f091349048aef8732
Time: 2020-06-25
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/algorithms/models.py
Class Name: Job
Method Name: create_result