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

GFZ / EL_PASO / 42711157121
71%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2026 10:36PM UTC
Jobs 1
Files 126
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 10:21PM UTC coverage: 70.483% (+0.2%) from 70.257%
42711157121

push

github

web-flow
Architecture enhancements (#228)

* Introduced NullDataStandard to simplify logic in save.py

* Introduce OneOf for alternative names and raise on unresolved dimensions

Alternatives ("any one of these names will do") were bare tuples in
OutputFile.names_to_save and VariableInfo.dependencies, with the rule
re-implemented at nine isinstance(..., tuple) sites. They are now an
explicit OneOf value type (el_paso/one_of.py, exported as
ep.typing.OneOf), read through three helpers: resolve_name,
alternatives_of and describe.

- OutputFile and VariableInfo are dataclasses instead of NamedTuples.
  Their constructors still accept tuples, convert them to OneOf and
  emit a DeprecationWarning. All tuples in our own strategies and
  standards now use OneOf.
- DataStandard.resolve_dependencies returns None for each OneOf
  entry with no alternative present, instead of silently using the
  first alternative. The new get_resolved_dependencies raises a
  ValueError naming the variable and the missing alternatives.
  standardize_variable and the netCDF writers use it.
  Saving PSD without either energy variable previously wrote a .mat
  file with no energy variable, or failed inside netCDF4 with
  "cannot find dimension Energy_FEDU". Both now raise this error,
  also with ignore_validation=True.
- available_keys is now required on standardize_variable and
  resolve_dependencies. No caller in EL-PASO passed None.

Breaking changes:
- OutputFile and VariableInfo are no longer tuples: no unpacking,
  indexing or ._replace (use dataclasses.replace).
- names_to_save and dependencies hold OneOf instead of tuples.
- resolve_dependencies may return None entries.
- standardize_variable requires available_keys.

* Fixed a small bug in the warning of save.py.

* add new architecture update to md files

* use `alternative_of` to get dependencies and type enforcement

---------

Co-authored-by: Sahil Jhawar <sahil.jhawar448@gmail.com>

147 of 147 new or added lines in 17 files covered. (100.0%)

7049 of 10001 relevant lines covered (70.48%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42711157121.1 09 Nov 2026 10:36PM UTC 126
70.48
GitHub Action Run
Source Files on build 42711157121
  • Tree
  • List 126
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d20bf8cb on github
  • Prev Build on main (#42631832459)
  • Next Build on main (#42822668661)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc