Exemple #1
0
 def requires(self):
     if Config.get().sampleBorders():
         return (MakeRegions(), Coordinates.CreateSampleCoordinates(),
                 DenoiserCode())
     else:
         return (MakeRegions(), Coordinates.CreateFullCoordinates(),
                 DenoiserCode())
Exemple #2
0
 def requires(self):
     config = Config.get()
     if config.sampleBorders():
         return (Coordinates.CreateSampleCoordinates(),
                 cartograph.PreReqs.SampleCreator(
                     config.get("ExternalFiles", "vecs_with_id")),
                 ContourCode(), CreateContinents(), MakeRegions())
     else:
         return (Coordinates.CreateFullCoordinates(),
                 cartograph.PreReqs.LabelNames(), ContourCode(),
                 CreateContinents(), MakeRegions())
Exemple #3
0
 def requires(self):
     config = Config.get()
     return (Coordinates.CreateSampleCoordinates(),
             Popularity.SampleCreator(
                 config.get("ExternalFiles",
                            "vecs_with_id")), ContourCode(),
             CreateContinents(), MakeRegions())
 def requires(self):
     return (PreReqs.LabelNames(),
             Coordinates.CreateFullCoordinates(),
             Coordinates.CreateSampleCoordinates(),
             BorderGeoJSONWriterCode(),
             BorderFactoryCode(),
             MakeRegions(),
             Denoise())
Exemple #5
0
 def requires(self):
     return (MakeRegions(), CalculateZoomsCode(),
             Coordinates.CreateFullCoordinates(),
             Popularity.PopularityIdentifier())
Exemple #6
0
 def requires(self):
     return (MakeRegions(), CalculateZPopCode(),
             Coordinates.CreateFullCoordinates(), ArticlePopularity())
Exemple #7
0
 def requires(self):
     return (MakeRegions(), Coordinates.CreateSampleCoordinates(),
             DenoiserCode())