Skip to content

Commit 37a1c43

Browse files
authored
Misc print improvements (#4)
1 parent 2531728 commit 37a1c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nucleus/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,18 +407,18 @@ def build_dockerfile_images(config: dict, path_to_config: str) -> List[str]:
407407
is_dev_env = config["use_local_cortex_libs"]
408408

409409
# get handler template
410-
click.echo(f"generating {nucleus_file} dockerfile ...")
411410
handler_dockerfile = build_handler_dockerfile(config, path_to_config, is_dev_env)
412411
with open(nucleus_file, "w") as f:
413412
f.write(handler_dockerfile)
413+
click.echo(f"✓ generated {nucleus_file}")
414414

415415
# get tfs template
416416
if config["type"] == "tensorflow":
417-
click.echo(f"generating {nucleus_tfs_file} dockerfile ...")
418417
tfs_dockerfile = pkgutil.get_data(__name__, "templates/tfs.Dockerfile")
419418
tensorflow_dockerfile = build_tensorflow_dockerfile(config, tfs_dockerfile, is_dev_env)
420419
with open(nucleus_tfs_file, "w") as f:
421420
f.write(tensorflow_dockerfile)
421+
click.echo(f"✓ generated {nucleus_tfs_file}")
422422

423423

424424
@click.command(

0 commit comments

Comments
 (0)