Skip to content

Conversation

@SteSeg
Copy link
Collaborator

@SteSeg SteSeg commented Dec 3, 2025

Reworked the database of results for oktavian_al to have results format in xarray, consistently with the benchmark results.
It is now possible to recall a result from the database with:

import openmc_fusion_benchmarks as ofb

# Get reference results: experiment from database
results_from_db = ofb.BenchmarkResults.from_database('oktavian_al','experiment.h5')

The resulting object is a BenchmarkResult so it is possible to run results_from_db.tallies, results_from_db.get_tally(..) etc.

@SteSeg SteSeg merged commit c50cb2d into eepeterson:develop Dec 3, 2025
2 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19880271313

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 12 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.1%) to 37.455%

Files with Coverage Reduction New Missed Lines %
/usr/share/miniconda3/envs/test-env/lib/python3.13/site-packages/openmc_fusion_benchmarks/benchmark_results.py 12 58.62%
Totals Coverage Status
Change from base Build 19879844980: -1.1%
Covered Lines: 206
Relevant Lines: 550

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants