• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

abhisrkckl / Vela.jl / 15183966840

22 May 2025 10:14AM UTC coverage: 95.178% (-4.1%) from 99.269%
15183966840

Pull #249

github

web-flow
Merge 7703e57e8 into 151d4480f
Pull Request #249: Script/function to plot chains

6 of 35 new or added lines in 2 files covered. (17.14%)

24 existing lines in 3 files now uncovered.

1204 of 1265 relevant lines covered (95.18%)

0.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pyvela/pyvela/pyvela_plotchains_script.py
NEW
1
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
×
2

NEW
3
from pyvela import pyvela_plot
×
4

5

NEW
6
def parse_args(argv):
×
NEW
7
    parser = ArgumentParser(
×
8
        prog="pyvela-plotchains",
9
        description="Create plots for parameter chains",
10
        formatter_class=ArgumentDefaultsHelpFormatter,
11
    )
NEW
12
    parser.add_argument(
×
13
        "result_dir", help="A directory containing the output of the `pyvela` script."
14
    )
NEW
15
    parser.add_argument(
×
16
        "-o",
17
        "--out",
18
        default=None,
19
        help="Output directory (if different from result_dir)",
20
    )
NEW
21
    parser.add_argument(
×
22
        "-e",
23
        "--ext",
24
        default="png",
25
        choices=["png", "pdf", "gif"],
26
        help="Extension for plots",
27
    )
28

NEW
29
    return parser.parse_args(argv)
×
30

31

NEW
32
def main(argv=None):
×
NEW
33
    args = parse_args(argv)
×
NEW
34
    pyvela_plot.plot_chains(args.result_dir, outdir=args.out, extension=args.ext)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc