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

SPF-OST / pytrnsys / 15605215655

12 Jun 2025 08:12AM UTC coverage: 27.513% (+0.1%) from 27.368%
15605215655

push

github

web-flow
Merge pull request #244 from SPF-OST/run-trnsys-from-dck-dir

Run trnsys from dck dir

41 of 74 new or added lines in 4 files covered. (55.41%)

9 existing lines in 2 files now uncovered.

3843 of 13968 relevant lines covered (27.51%)

0.28 hits per line

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

76.47
/pytrnsys/rsim/command.py
1
import collections.abc as _cabc
1✔
2
import dataclasses as _dc
1✔
3
import pathlib as _pl
1✔
4

5
import shortpath83 as _sp83
1✔
6

7

8
@_dc.dataclass
1✔
9
class Command:
1✔
10
    trnsysExeFilePath: _pl.Path
1✔
11
    deckFilePath: _pl.Path
1✔
12
    trnsysFlags: _cabc.Sequence[str]
1✔
13

14
    @property
1✔
15
    def args(self) -> _cabc.Sequence[str | _pl.Path]:
1✔
NEW
16
        shortDeckFilePath = _sp83.get_short_path_name(str(self.deckFilePath))
×
17

NEW
18
        args: _cabc.Sequence[str | _pl.Path] = [self.trnsysExeFilePath, shortDeckFilePath, *self.trnsysFlags]
×
19

NEW
20
        return args
×
21

22
    @property
1✔
23
    def cwd(self) -> _pl.Path:
1✔
NEW
24
        return self.deckFilePath.parent
×
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