f3a4bb4a34269dcaf9c96eb546d2ffd8695413b1,foreman/data_refinery_foreman/surveyor/geo.py,GeoSurveyor,create_experiment_and_samples_from_api,#GeoSurveyor#Any#,247

Before Change


                        sample_object.save()

                    // filename and source_filename are the same for these
                    filename = supplementary_file_url.split("/")[-1]
                    original_file = OriginalFile.objects.get_or_create(
                            source_url = supplementary_file_url,
                            filename = filename,
                            source_filename = filename,

After Change


                        sample_object.save()

                    // filename and source_filename are the same for these
                    filename = FileUtils.get_filename(supplementary_file_url)
                    original_file = OriginalFile.objects.get_or_create(
                            source_url = supplementary_file_url,
                            filename = filename,
                            source_filename = filename,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexsLemonade/refinebio
Commit Name: f3a4bb4a34269dcaf9c96eb546d2ffd8695413b1
Time: 2019-11-01
Author: arielsvn@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/geo.py
Class Name: GeoSurveyor
Method Name: create_experiment_and_samples_from_api


Project Name: etal/cnvkit
Commit Name: 0263f12a8f84d7866a719494bad83f1b57750093
Time: 2018-02-22
Author: eric.talevich@gmail.com
File Name: skgenome/tabio/__init__.py
Class Name:
Method Name: read


Project Name: tyarkoni/pliers
Commit Name: de6d474bd667cc040856792cce62148691fbabda
Time: 2017-05-08
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/api.py
Class Name: ClarifaiAPIExtractor
Method Name: _extract