Skip to content

Commit

Permalink
log: add warning for no g2a used together with rescale
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Jul 24, 2024
1 parent 89c55b0 commit 80ba101
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pydamage/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def pydamage_analyze(
if subsample and rescale:
raise ValueError("Cannot use subsample and rescale together")

if no_ga and rescale:
logging.warning("G to A transitions will not be used for rescaling !")

if verbose:
logging.info(f"Pydamage version {__version__}\n")
utils.makedir(outdir, force=force)
Expand Down

0 comments on commit 80ba101

Please sign in to comment.