WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit b5416705 authored by Zixian Cai's avatar Zixian Cai
Browse files

Make pipeline an option not an argument

parent c8367bdc
......@@ -18,13 +18,17 @@ import click
from mubench.frontend.utils import go_through_pipelines
from mubench.models.revision import LocalRevision
from mubench.models.pipeline import pipelines
logger = logging.getLogger(__name__)
@click.command()
@click.argument('file', type=click.Path(exists=True))
@click.argument('pipeline', default="log,boxplot,barplot")
@click.option("--pipeline", default="box,bar",
help="Combination of [{}], separated by comma".format(
",".join(pipelines.keys())
))
@click.option('--skip_compile', default='none',
help="a list of tasks to skip compilation." +
"Can be 'all', 'none', or a string in the form of 'taskset1:task1,task2;taskset2'. " +
......
......@@ -146,7 +146,7 @@ class BoxplotPipeline(Pipeline):
pipelines = {
"boxplot": BoxplotPipeline,
"barplot": BarplotPipeline,
"box": BoxplotPipeline,
"bar": BarplotPipeline,
"log": LogOutputPipeline
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment