f0954a287006d6890b0ec470ccdaccf1189d246f,app/grandchallenge/algorithms/models.py,Job,input_files,#Job#,421

Before Change



    @property
    def input_files(self):
        return [
            im.file
            for inpt in self.inputs.all()
            for im in inpt.image.files.all()
        ]

    @property
    def output_interfaces(self):
        return self.algorithm_image.algorithm.outputs

After Change



    @property
    def input_files(self):
        return chain(
            *[self.get_path_and_value(inp) for inp in self.inputs.all()]
        )

    @property
    def output_interfaces(self):
        return self.algorithm_image.algorithm.outputs
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: f0954a287006d6890b0ec470ccdaccf1189d246f
Time: 2021-03-22
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/grandchallenge/algorithms/models.py
Class Name: Job
Method Name: input_files


Project Name: stanford-mast/nn_dataflow
Commit Name: dbce7a60ae3be16be1baaf9c76b9d8067484213f
Time: 2017-08-17
Author: mgao12@stanford.edu
File Name: nn_dataflow/Scheduling.py
Class Name: Scheduling
Method Name: schedule_search


Project Name: biolab/orange3
Commit Name: faaa9683764e14d67a483b6948a96577a045f4f2
Time: 2016-09-23
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/visualize/owboxplot.py
Class Name: OWBoxPlot
Method Name: set_data