afeec8a22c2936dd9b2a94eec64cd89442fe9598,rastervision/data/label_store/semantic_segmentation_raster_store_config.py,SemanticSegmentationRasterStoreConfig,update_for_command,#SemanticSegmentationRasterStoreConfig#Any#Any#Any#Any#,45

Before Change


                    raise rv.ConfigError(
                        "SemanticSegmentationRasterStoreConfig has no "
                        "URI set, and is not associated with a SceneConfig.")
            if not self.geojson_uri:  // XXX and SOMETHING
                // Construct the URI for this prediction store,
                // using the scene ID.
                root = experiment_config.predict_uri
                uri = None
                for c in context:
                    if isinstance(c, rv.SceneConfig):
                        uri = os.path.join(root, "{}.geojson".format(c.id))
                if uri:
                    self.geojson_uri = uri
                    io_def.add_output(uri)
                else:
                    raise rv.ConfigError(
                        "SemanticSegmentationRasterStoreConfig has no "
                        "GeoJSON URI set, and is not associated with a SceneConfig."
                    )

            io_def.add_output(self.uri)
            if self.geojson_uri:
                io_def.add_output(self.geojson_uri)

After Change


                msg = "No URI set for SemanticSegmentationRasterStoreConfig"
                io_def.add_missing(msg)

            for vo in self.vector_output:
                io_def.add_input(vo["uri"])

        return io_def


class SemanticSegmentationRasterStoreConfigBuilder(LabelStoreConfigBuilder):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: azavea/raster-vision
Commit Name: afeec8a22c2936dd9b2a94eec64cd89442fe9598
Time: 2019-01-03
Author: jmcclain@azavea.com
File Name: rastervision/data/label_store/semantic_segmentation_raster_store_config.py
Class Name: SemanticSegmentationRasterStoreConfig
Method Name: update_for_command


Project Name: merenlab/anvio
Commit Name: 494c8eca414b05627815a00ec6c5563fb83e2a5c
Time: 2019-10-08
Author: a.murat.eren@gmail.com
File Name: anvio/scgtaxonomyops.py
Class Name: SCGTaxonomyEstimator
Method Name: get_consensus_taxonomy


Project Name: azavea/raster-vision
Commit Name: 2b6f090645d9beab38c19230d940b34031e95b34
Time: 2018-12-07
Author: skassel@azavea.com
File Name: rastervision/command/chip_command_config.py
Class Name: ChipCommandConfigBuilder
Method Name: validate