Skip to content

Examples v1 - #197

Merged
srmnitc merged 6 commits into
mainfrom
examples-v1
May 1, 2026
Merged

srmnitc merged 6 commits into
mainfrom
examples-v1

Conversation

@srmnitc

@srmnitc srmnitc commented May 1, 2026

Copy link
Copy Markdown
Member

No description provided.

srmnitc added 5 commits April 30, 2026 23:38
- Add CHANGELOG.md with v1.0 entry
- Add docs/migration.md with breaking-change guide and SPARQL UPDATE
- Replace stale root index.ipynb with index.md landing page
- Expand README with installation, quickstart, citation (arXiv 2604.06230)
- Wire migration + changelog into _toc.yml; un-orphan example 03
- Add module docstring + commit missing atomrdf/_version.py
- Fix license.md (pyscal-rdf -> atomRDF)
- 04_point_defects: vacancy / interstitial / substitutional with PODO
- 05_sparql_queries: raw SPARQL + term-builder + sample export
- 06_persistence_and_visualisation: in-memory vs SQL vs Oxigraph stores
- All three are smoke-tested end-to-end and registered in _toc.yml
…MPS outputs

- Add KnowledgeGraph.reconstruct_workflow() and .reconstruct_workflow_by_sample()
  wrapper methods (they delegate to atomrdf.io.reconstruct functions)
- Add _write_software_requirements(), _write_incar(), _write_lammps_input() helpers
- reconstruct_workflow now detects DFT workflows: writes INCAR + POSCAR instead
  of trying to generate an executable Python script (which was unsupported)
- reconstruct_workflow now detects LAMMPS: writes in.lammps with read_data +
  minimize blocks in addition to run_workflow.py
- software_requirements.txt always written regardless of method
- Structure format auto-detected from software list (VASP→POSCAR, LAMMPS→.lmp)
- All 4 test_reconstruct tests now pass; full suite 84 passed, 2 skipped
- test_rotate.py: module-level pytest.importorskip('atomman') skips the
  whole file when atomman is absent
- test_structure.py: _atomman_available flag + @pytest.mark.skipif on
  test_stacking_fault
@codecov

codecov Bot commented May 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.30864% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.29%. Comparing base (ae4b151) to head (3f6bd83).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
atomrdf/visualize.py 28.57% 5 Missing ⚠️
atomrdf/properties.py 33.33% 4 Missing ⚠️
atomrdf/build/defect.py 50.00% 2 Missing ⚠️
atomrdf/datamodels/activity.py 50.00% 2 Missing ⚠️
atomrdf/datamodels/structure.py 60.00% 2 Missing ⚠️
atomrdf/graph.py 75.00% 2 Missing ⚠️
atomrdf/datamodels/structure_io.py 0.00% 1 Missing ⚠️
atomrdf/datamodels/workflow/algorithm.py 50.00% 1 Missing ⚠️
atomrdf/datamodels/workflow/potential.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
+ Coverage   52.32%   53.29%   +0.96%     
==========================================
  Files          47       49       +2     
  Lines        5353     6048     +695     
==========================================
+ Hits         2801     3223     +422     
- Misses       2552     2825     +273     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Removed Python 3.9 from the testing matrix.
@srmnitc
srmnitc merged commit 57ae3f7 into main May 1, 2026
6 checks passed
@srmnitc
srmnitc deleted the examples-v1 branch May 1, 2026 15:02
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.

1 participant