Skip to content

Commit

Permalink
docs: add deprecation message for qq auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Edoardo-Pedicillo committed Nov 4, 2024
1 parent d7cffaf commit d1ca6e4
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/qibocal/cli/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,48 @@ def upload(path, tag, author):
)
def compare(report_1_path, report_2_path, folder, force):
compare_reports(folder, report_1_path, report_2_path, force)


@command.command(context_settings=CONTEXT_SETTINGS, deprecated=True)
@click.argument(
"runcard", metavar="RUNCARD", type=click.Path(exists=True, path_type=pathlib.Path)
)
@click.option(
"folder",
"-o",
type=click.Path(path_type=pathlib.Path),
help="Output folder. If not provided a standard name will generated.",
)
@click.option(
"force",
"-f",
is_flag=True,
help="Use --force option to overwrite the output folder.",
)
@click.option(
"--update/--no-update",
default=True,
help="Use --no-update option to avoid updating iteratively the platform."
"With this option the new runcard will not be produced.",
)
@click.option(
"--platform",
default=None,
help="Name of the Qibolab platform.",
)
@click.option(
"--backend",
default=None,
help="Name of the Qibo backend.,",
)
def auto(runcard, folder, force, update, platform, backend):
"""Execute the qubit calibration.
Arguments:
- RUNCARD: runcard with declarative inputs.
"""
click.echo(
"Warning: This command is deprecated and may be removed in a future version. Please use 'qq run' instead. ",
err=True,
)

0 comments on commit d1ca6e4

Please sign in to comment.