forked from VAMDC/NodeSoftware
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Substantial changes to UMIST node and minor update to generators.py #59
Merged
Conversation
This file contains 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
…ng rate coefficients. Also fixed dataset refs, but source formatting still needs fixing.
…ng rate coefficients. Also fixed dataset refs, but source formatting still needs fixing.
…nd b) restrict queries to the relevant database subset
… In particular sources, atoms, molecules, functions, methods, collision fit function references, source references, collision parameters and arguments.
…frequently refers to more than one source). Addition of new columns to sources to fit with xsams schema. (Also populated this data.) Addition of decorator method to return list of authors. Addition of new columns to Species table to facilitate additon of relevant data for atoms and particles. Removal of vamdc_inchi and vamdc_inchikey, additon of vamdc_species_id. Addtion of decorator method to strip charge from stoic_formula (for atom element symbol). Addition of decorator method to RxnData to interpret the accuracy field. Addition of new Functions and associated FunctionParamsArgs tables and models. Addition of new Methods table and model.
…es. Removed InChI from restrictables. Added Particle properties to returnables
…ST database. Sources are now organised in an XSAMS friendly manner. Functions, Function params and arguments, Methods now added. New columns added to Species database for population of fields for both atoms and molecules. Reactions are returned with accuracy settings, fit function references and source references correctly, along with the relevant parameters and values depending on the specific fit function to which the reaction is related. Particles are now returned and species ids populated in the database. More restrictables are now supported and deprecated ones removed.
…missing functionRef quotes in collision fit data
…t AtomSpeciesID, altered FunctionParameter items to refer to FunctionParameter, not Parameter
…ist. Refactored the code (ideas from chianti) to facilitate constrained queries or SELECT SPECIES query. Deprecated use of where2q in favour of sql2Q.
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.
I've refactored my UMIST database and changed queryfunc.py, dictionaries.py and models.py accordingly. This fixes sources, fit functions, methods, etc.
I've also made two minor changes to generators.py
NOTE: There are still some unresolved issues with generators.py: