Skip to content

Commit

Permalink
Deprecate --id option
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and speth committed Aug 13, 2023
1 parent 16d387e commit 378ff71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions interfaces/cython/cantera/ck2yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -2216,8 +2216,9 @@ def main(argv):

if '--id' in options:
phase_name = options.get('--id', 'gas')
logger.warning("\nFutureWarning: "
"Option '--id=...' will be replaced by '--name=...'")
logger.warning("\nDeprecationWarning: "
"Option '--id=...' is replaced by '--name=...' and will be "
"removed after Cantera 3.0.\n")
else:
phase_name = options.get('--name', 'gas')

Expand Down

0 comments on commit 378ff71

Please sign in to comment.