Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pydantic2 migration & multidimensional matrices for nexus #1

Merged
merged 27 commits into from
Aug 20, 2024

Conversation

vedina
Copy link
Member

@vedina vedina commented Aug 20, 2024

No description provided.

vedina and others added 27 commits August 15, 2024 10:57
(almost)
write to NeXuS EffectArrays
 data dimensions have alternative axis coordinates (e.g. concentration in mass and surface)
https://manual.nexusformat.org/classes/base_classes/NXdata.html
valid nexus, though h5view doesn't display string / mixed axes
aux signal initial support
interpretation field
we convert everything to EffectArrays and write them in nexus
/ char in paths is an issue
some, but not all fixes
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/pyambit
  datamodel.py 52, 90, 118, 131, 175, 186, 188, 192, 240-244, 318, 331, 356, 359, 380, 390, 396, 403, 415, 424-427, 455, 465, 496, 507, 528, 548, 560, 592, 671-687, 711, 808-812, 867-868, 903-906, 1018-1021, 1063-1068, 1094-1095, 1104, 1110, 1125, 1139-1146, 1156, 1170-1175, 1195-1203, 1221-1224, 1256-1265, 1302, 1318, 1346-1348, 1364, 1445, 1469-1478
  nexus_spectra.py
  nexus_writer.py 52, 299, 422
  tests/pyambit/datamodel
  datamodel_test.py
  nexus_writer_test.py 55-57
  spectra_writer_test.py
Project Total  

This report was generated by python-coverage-comment-action

@kerberizer kerberizer merged commit 655ba11 into main Aug 20, 2024
5 checks passed
@kerberizer kerberizer deleted the pydantic2 branch August 20, 2024 19:23
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