3.6.0rc1
Pre-release
Pre-release
What's Changed
- Add commas in keywords in pyproject.toml by @bobleesj in #142
- Configure automatic spelling check via codespell within pre-commit by @alisnwu in #152
- add xtype=d in dump function by @yucongalicechen in #153
- Add Codecov secret to
.github/workflows/tests-on-pr.ymlto use Codecov by @bobleesj in #159 - Added extra information in warning for better capturing of user info by @alisnwu in #149
- Recut - update release checklist and job names by @bobleesj in #162
- Move resampler out of parsers, remove relative paths for import by @alisnwu in #164
- Add conda-forge release checklist to GitHub Issue template by @bobleesj in #166
- Update release_checklist.md - use fourigui 0.2.0 version by @bobleesj in #168
- Documentation update by @Sparks29032 in #169
- Reorganized test files to match src folder structure by @alisnwu in #171
- Deprecate
Diffraction_object, rename toDiffractionObject(new clean PR) by @bobleesj in #172 - Use pytest for
test_loaddata.pyby @bobleesj in #179 - q_to_tth & tth_to_q by @yucongalicechen in #178
- refactor the transforms out of DiffractionObjects by @sbillinge in #184
- Remove scattering_objects folder for importing DiffractionObjects by @bobleesj in #189
- move tests to top level directory by @sbillinge in #190
- DiffractionObject can now be instantiated directly by @sbillinge in #193
- Use
@propertyto prevent direct modification ofall_arraysby @bobleesj in #196 - d_to_q, q_to_d by @yucongalicechen in #197
- test function for get_angle_index by @yucongalicechen in #191
- test function on_xtype by @yucongalicechen in #192
- add d_to_tth, tth_to_d by @yucongalicechen in #199
- Add New release checklist BG standard including
python -m buildandtwine check dist/*by @bobleesj in #203 - Add
copy()method forDiffractionObjectby @bobleesj in #204 - More info on updating global config for users by @alisnwu in #208
- Check valid x and y array lenghts and xtypes in
insert_scattering_quantityby @bobleesj in #209 - Remove unused test util functions for comparing two dicts, use
__eq__to compare DiffractionObjects by @bobleesj in #214 - Rename
input_scattering_quantitytoinput_datainDiffractionObjectinit by @bobleesj in #215 - Add doc build GitHub CI yml file by @bobleesj in #217
- Add gettable
idproperty toDiffractionObjectby @bobleesj in #216 - Improve
wsinterpdocstrings and test function by @bobleesj in #221 - tests for scale_to by @yucongalicechen in #211
- Refactor
test-on-xtypetest function by @bobleesj in #231 - Remove
set_angles_from_list,set_angles_from,set_qs_from_rangeby @bobleesj in #233 - add deprecation warning to resample function by @alisnwu in #234
- Add function for Nyquist-Shannon grid interpolation by @Sparks29032 in #235
- docs for transformers module by @yucongalicechen in #237
- Do not allow an empty instance of DiffractionObject - require
xarraysyarraysxtypeby @bobleesj in #228 - Refactor
test_transfor.py: pass variables to pytest parametrize, useconftest.pyfor common error messages by @bobleesj in #236 - updated tools example doc with better get_user_info example by @alisnwu in #242
- simon tweaks to tools example by @sbillinge in #243
- Rename doc files and fix typos by @yucongalicechen in #246
- docs for diffraction objects by @yucongalicechen in #249
- Simon tweaks to DO examples by @sbillinge in #252
- fix diffraction objects docs typos by @yucongalicechen in #254
- Refactor
test_scale_tofunction - continue to establish good practices by @bobleesj in #255 - Remove 6 pytest warnings with capturing wavelength warnings by @bobleesj in #259
- Refactor division by zero error test in
test_tth_to_dby @bobleesj in #260 - Catch
wavelength=nonewarnings in DiffractionObject by @bobleesj in #261 - Fix all remaining divide by zero pytest warnings by @bobleesj in #262
- Apply
prettierto pre-commit for automatic linting of.md.yamlfiles by @bobleesj in #263 - Continue refactor test functions, replace
UCtoCintest_transforms.pyby @bobleesj in #266 - refactor to separate getting info and creating config files by @sbillinge in #264
- Add class docstring for
DiffractionObjectby @bobleesj in #265 - add docs for
check_and_build_global_config()by @yucongalicechen in #270 - Improve test comments under
@pytest.mark.parametrizeintest_diffraction_objects.pyby @bobleesj in #273 - Improve pytest parametrize comments for
test_transform.pyby @bobleesj in #275 - Use compact test comment style for each case under @pytest.mark.parametrize by @bobleesj in #277
- Apply
docformatterinpre-commitfor PEP 257 docstring auto format, no manual modifications made by @bobleesj in #272 - Config updater workflow by @sbillinge in #267
- Rename
idtouuidin DiffractionObject by @bobleesj in #271 - Fix
get_array_indexreturnsintinstead oflistin DiffractionObject by @bobleesj in #283 - Add two test cases for init DiffractionObject with empty
xarrayandyarrayvalues by @bobleesj in #284 - improve comments for
test_scale_toby @yucongalicechen in #280 - Refactor
__add__operation inDiffractionObjectand add tests by @bobleesj in #285 - feat: Support *, /, - operations between two DiffractionObjects or scalar by @bobleesj in #293
- feat: muD calculator by @yucongalicechen in #292
- compute mu by @yucongalicechen in #278
- add new features in
scale_to()so user can run without an x-value by @yucongalicechen in #289 - fix: compare values and shape of
xarrayvalues before applying operations between 2 DiffractionObjects by @bobleesj in #299 - docs: add examples for operations by @yucongalicechen in #297
- refactor: separate
isfloatinto a new file withinvalidators.pyand rename tois_numberby @bobleesj in #301 - docs: improve docstring based on group standards in diffraction_objects.py transforms.py by @bobleesj in #300
- fix: Add
sbillingeas the designated authorized user for release inbuild-wheel-release-upload.ymlby @bobleesj in #305 - fix: remove user_config.py by @yucongalicechen in #303
- docs: add docstrings for on_d, on_q, on_tth, and dump by @yucongalicechen in #307
Full Changelog: 3.5.0...3.6.0rc1