Skip to content

Update predetermined info handling#9

Merged
JHogenboom merged 3 commits into
mainfrom
update-predetermined-info-handling
Nov 24, 2025
Merged

Update predetermined info handling#9
JHogenboom merged 3 commits into
mainfrom
update-predetermined-info-handling

Conversation

@JHogenboom

Copy link
Copy Markdown
Contributor

This pull request introduces version 1.0.3 of the vantage6-strongaya-general library. The main focus of this update is to add a new utility function, convert_to_json_serialisable, which ensures that outputs containing NumPy and Pandas types are properly converted for JSON serialisation. Additionally, all relevant documentation and version references have been updated to reflect the new version, and some minor improvements and clarifications were made to error messages and docstrings.

Key changes:

New Feature

  • Added the convert_to_json_serialisable function to convert NumPy and Pandas types to native Python types for JSON serialisation, and integrated it into the statistics calculation pipeline to ensure outputs are JSON-serializable. [1] [2] [3] [4]

Version and Documentation Updates

  • Updated version references from 1.0.2 to 1.0.3 in pyproject.toml, __init__.py, and all relevant documentation and install instructions in README.md. [1] [2] [3] [4] [5] [6]

Minor Improvements

  • Improved error messages and docstrings for better clarity and consistency in the miscellaneous.py module. [1] [2] [3] [4] [5]
  • Added missing import for numpy as np to support the new utility function.

@JHogenboom JHogenboom added the bug Something isn't working label Nov 24, 2025
@JHogenboom JHogenboom merged commit 6f271b9 into main Nov 24, 2025
4 checks passed
@JHogenboom JHogenboom deleted the update-predetermined-info-handling branch November 24, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant