Skip to content

Feat/aws upload#4

Draft
vict0rsch wants to merge 9 commits into
mainfrom
feat/aws-upload
Draft

Feat/aws upload#4
vict0rsch wants to merge 9 commits into
mainfrom
feat/aws-upload

Conversation

@vict0rsch
Copy link
Copy Markdown

No description provided.

speckhard added a commit to speckhard/LeMat-Rho that referenced this pull request Jun 1, 2026
Reviewer flagged two worth-flagging items.

LeMaterial#4 CHGCAR directory layout
* was: chgcar_root / f"{model}__{material_id}/CHGCAR"
* now: chgcar_root / model / material_id / CHGCAR
* the flat layout would have been ambiguous for synthesised IDs
  containing the separator (e.g. "oqmd__1234"). Nested avoids that
  entirely and is also more ls-friendly when sweeping models.
* new test test_chgcar_layout_is_nested_by_model_then_material_id
  asserts the path tail.

LeMaterial#8 Test-data realism
* the existing _toy_parquet uses 2-atom H2 cells with
  grid_shape=(4,4,4) and n_electrons=2.0 -- a missing n_electrons
  rescale, a positions-reshape bug, or a grid/atom mismatch would
  all pass silently.
* new TestRealisticRow.test_5_atom_asymmetric_grid_unequal_n_electrons
  exercises an FeO4 row with grid_shape=(8,10,12) and n_electrons=12.5
  != sum(Z). Catches mutations on the reshape and rescale paths.

16 / 16 tests green; full suite green.
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