Conversation
The sailor overwrites the exception to None before forwarding the point and ErrorInfo along to the caller as a ComputeResult. Downstream, the output sinks need to use the ErrorInfo rather than the exception on the vs.Point. A future change will probably remove the exception property from the vs.Point dataclass.
Adds the `eleanor.kernel.eq36.Eq36Settings.filter` property which allows the user to provide a query with which to filter ES points at generation time.
We are trying to strike a balance between good query performance for the obvious things out of the box, but also avoid bloating the storage footprint
The equilibrium_aqueous_species table in particular overflows pretty quickly. We need a bigger boat.
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.
Summary
This branch bundles a set of PostgreSQL storage/performance improvements, a new EQ3/6 kernel filter setting, and a bug fix for error-message propagation to the Postgres output.
Eq36Settings.filter— a new setting that accepts an EQL query (with a limited set of conditions) for filtering out generatedequilibrium_space.Points at generation time, e.g. dropping points where a specific aqueous species is present below some limit.equilibrium_*identity primary keys fromINTEGERtoBIGINT. The per-equilibrium-point tables accumulate one row per species/solid/gas/reactant per point, so theirint4identity range was the first thing to overflow on large runs. The FK columns that store these ids (equilibrium_space_id,equilibrium_solid_solution_id) are widened to match.--[no-]indexes/--[no-]fks/--[no-]checksflags toeleanor postgres bulkload drop/recreate(all on by default).recreateis now idempotent per class (it skips CHECK/FK constraints already present), so an asymmetric drop/recreate is safe instead of an error. Rebuilt B-tree indexes are packed atfillfactor = 100since a recreate is a one-shot bulk build over write-once data; GIN/BRIN indexes are unaffected.drop_indexes/recreate_indexes→drop_bulk_load_objects/recreate_bulk_load_objectsto reflect that they act on secondary indexes and FK/CHECK constraints.PostgresSink. TheRunnerwas overwritingPoint.exceptionwithNone, so the sink drew a missing error message; the message now comes fromComputeResult.error.Type of Change
Testing
pytest)Checklist
pre-commit run --all-files)[Unreleased](for user-facing changes)