MCPcopy Create free account
hub / github.com/comaps/comaps / run_generation

Function run_generation

tools/python/maps_generator/maps_generator.py:14–24  ·  view source on GitHub ↗
(
    env: Env,
    stages: Iterable[Stage],
    from_stage: Optional[AnyStr] = None,
    build_lock: bool = True,
)

Source from the content-addressed store, hash-verified

12
13
14def run_generation(
15 env: Env,
16 stages: Iterable[Stage],
17 from_stage: Optional[AnyStr] = None,
18 build_lock: bool = True,
19):
20 generation = Generation(env, build_lock)
21 for s in stages:
22 generation.add_stage(s)
23
24 generation.run(from_stage)
25
26
27def generate_maps(env: Env, from_stage: Optional[AnyStr] = None):

Callers 6

build_prologMethod · 0.90
build_coastlineFunction · 0.90
update_planetFunction · 0.90
generate_mapsFunction · 0.85
generate_coastsFunction · 0.85

Calls 3

add_stageMethod · 0.95
runMethod · 0.95
GenerationClass · 0.90

Tested by

no test coverage detected