-
Notifications
You must be signed in to change notification settings - Fork 10
RII parser refinements 10000 #72
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
Conversation
4573b5b
to
379b618
Compare
@sanbrock @shabihsherjeel I introduced lark as a dependency (and scipy but this was already required as a sub-dependency). I could also think of using this only as an optional dependency as it is just used for parsing the refractive index database rn. But we eventually could provide the formula parsing as a tool inside nexusututils as well. Then I'd keep the lark dependency as is. |
nexusutils/dataconverter/readers/rii_database/dispersion_functions.py
Outdated
Show resolved
Hide resolved
nexusutils/dataconverter/readers/rii_database/dispersion_functions.py
Outdated
Show resolved
Hide resolved
nexusutils/dataconverter/readers/rii_database/dispersion_functions.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great. 👍
* Adds stub for parsing references * Adds NX_COMPLEX as valid type * Fixes linting * Automatically convert formula to n if necessary * Adds formula parser * Updates dev-requirements * WIP: Adds writing of nxdata * Adds writing of NXdata * Bugfixes for creation of NXdata * Fixes linting * Renaming and using cdouble instead of complex128 * Use only cdouble, add csingle to valid complex types and address review comments * Updates definitions submodule * Set lower bounds for scipy and lark
For the associated appdef/base classes see https://github.com/FAIRmat-Experimental/data-modeling/pull/79