Claude/xyz multi file geometry vqv rx#91
Merged
Conversation
This major feature release adds support for: Multi-geometry XYZ files: - parseMultiXYZ() parses XYZ files with multiple structures - isMultiFrameXYZ() detects multi-frame files automatically - validateMultiXYZ() validates all frames with detailed error reporting - parseXYZAuto() smart parser that handles both single and multi-frame CIF file support: - New cifParser.js using crystcif-parse library - Automatic fractional to Cartesian coordinate conversion - Multi-block CIF file support - Metadata extraction (cell params, space group) Multiple file upload: - Upload multiple files at once (.xyz and .cif) - Structure selector with navigation buttons - Display structure count and format info Enhanced reporting: - PDF report includes structure name and file format - CSV export includes Structure column when applicable - Updated version references to v1.5.0 Tests: - 52 file parser tests all passing - Tests for isMultiFrameXYZ, countXYZFrames, validateMultiXYZ - Tests for parseMultiXYZ and parseXYZAuto
- Update README.md with new features section for file format support - Update Input Format section with multi-geometry XYZ and CIF examples - Update basic workflow to reflect new structure selection step - Update CHANGELOG.md with multi-file/CIF feature details - Update .zenodo.json version and add CIF/XYZ keywords - Update CITATION.cff version to v1.5.0 and date
- Add useBatchAnalysis hook for analyzing all structures at once - Add BatchResultsDisplay component with summary table and expandable details - Add generateBatchPDFReport() for combined PDF reports with summary + detailed sections - Add generateBatchCSVReport() for exporting all structures to CSV - Update App.js to detect batch mode and show batch UI when multiple structures loaded - Update FileUploadSection to hide individual selector in batch mode Batch mode automatically activates when: - Multi-geometry XYZ file is loaded (multiple structures in one file) - Multiple files are uploaded simultaneously Features: - Summary table showing Structure | Metal | CN | Best Geometry | CShM | Quality - Expandable detailed results for each structure - Progress indicator during batch analysis - Batch PDF report with statistics and per-structure tables - Batch CSV with summary and detailed sections
- Fix import error: use default export calculateShapeMeasure - Add calculateAllShapeMeasures helper to iterate through geometries - Hide "Current structure info" in batch mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.