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

dbekaert / RAiDER / 3b9fa18b-2dad-42fd-bb4f-608e36c79a7d

13 Dec 2025 03:09AM UTC coverage: 50.298% (-0.3%) from 50.567%
3b9fa18b-2dad-42fd-bb4f-608e36c79a7d

Pull #788

circleci

web-flow
Merge branch 'dev' into variance_date_analyses
Pull Request #788: Enhance variance_analysis with global date tracking

4 of 46 new or added lines in 2 files covered. (8.7%)

3 existing lines in 1 file now uncovered.

3211 of 6384 relevant lines covered (50.3%)

0.5 hits per line

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

50.0
/tools/RAiDER/cli/parser.py
1
import argparse
1✔
2
import os
1✔
3

4
from RAiDER.cli.validators import BBoxAction, IntegerMappingType
1✔
5

6

7
def add_cpus(parser: argparse.ArgumentParser) -> None:
1✔
8
    parser.add_argument(
×
9
        '--cpus',
10
        help='The number of cpus to be used for multiprocessing or "all" for all available cpus.',
11
        type=IntegerMappingType(0, all=os.cpu_count()),
12
        default='all',
13
    )
14

15

16
def add_verbose(parser: argparse.ArgumentParser) -> None:
1✔
17
    parser.add_argument(
×
18
        '--verbose', '-v',
19
        help='Run in verbose mode',
20
        action='count',
21
        default=0
22
    )
23

24

25
def add_out(parser: argparse.ArgumentParser) -> None:
1✔
26
    parser.add_argument('--out', help='Output directory', default='.')
×
27

28

29
def add_bbox(parser: argparse.ArgumentParser) -> None:
1✔
30
    parser.add_argument(
×
31
        '--bbox',
32
        '-b',
33
        help='Bounding box',
34
        nargs=4,
35
        type=float,
36
        dest='query_area',
37
        action=BBoxAction,
38
        metavar=('S', 'N', 'W', 'E'),
39
    )
40

41

42
def add_allow_nan_options(parser: argparse.ArgumentParser) -> None:
1✔
NEW
43
    parser.set_defaults(allow_nan_for_negative=True)
×
44

NEW
45
    group = parser.add_mutually_exclusive_group()
×
NEW
46
    group.add_argument(
×
47
        '--allow-nan',
48
        dest='allow_nan_for_negative',
49
        action='store_true',
50
        help="Return NaN when σ_model² < 0 (default).",
51
    )
NEW
52
    group.add_argument(
×
53
        '--no-allow-nan',
54
        dest='allow_nan_for_negative',
55
        action='store_false',
56
        help="Clamp σ_model² < 0 to 0 instead of returning NaN.",
57
    )
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