Skip to content

Commit

Permalink
Fix bug in --skip-manifest flag
Browse files Browse the repository at this point in the history
The `--skip-manifest` flag had the opposite behaivor of what the name
and help would suggest.
  • Loading branch information
TimothyWillard committed Nov 12, 2024
1 parent e9bcb23 commit 08ec61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flepimop/gempyor_pkg/src/gempyor/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,15 +1084,15 @@ def _click_submit(ctx: click.Context = mock_context, **kwargs: Any) -> None:

# Manifest
if kwargs["skip_manifest"]:
logger.debug("Skipped writing manifest metadata.")
else:
manifest = write_manifest(
job_name,
kwargs["flepi_path"],
kwargs["project_path"],
destination=kwargs["project_path"] / "manifest.json",
)
logger.info("Writing manifest metadata to '%s'", manifest.absolute())
else:
logger.debug("Skipped writing manifest metadata.")

# Config out
if (config_out := kwargs["config_out"]) is None:
Expand Down

0 comments on commit 08ec61e

Please sign in to comment.