-
Notifications
You must be signed in to change notification settings - Fork 21
Do not allow an empty instance of DiffractionObject - require xarrays
yarrays
xtype
#228
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
92a2c4c
Add do_minimal setup to conftest
bobleesj 56541e5
Refactor and remove input_data func
bobleesj 1144d1f
Re-organize test with required parameters of xarray, yarray, waveleng…
bobleesj e7b4dc2
Add input public data back to init func
bobleesj 6dc2738
Remove print diff function in pytest for debugging
bobleesj 50b7d0d
Update input_data docstrings for clarity
bobleesj 291cc89
Add quotation marks around q, tth, d in docstrings
bobleesj b8a9adc
Use empty string for default scattering quantity
bobleesj e3c5208
Final cleanup on input_data docstrings
bobleesj db89596
Merge branch 'main' into no-empty-object
bobleesj de6f12d
make wavelength optional, test invalid init args
bobleesj 7ccebe8
Add wavelength user behavior back
bobleesj 2752578
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] d1f767b
Restore wavelenght none in one of the test cases
bobleesj afe814b
Fix typo in docstrings
bobleesj 46c7be8
Use refined param names for pytest parametrize
bobleesj d24aacd
Remove hard coded wavelength in test func
bobleesj e285214
Add news for requires 3 input parameters of , ,
bobleesj 4f54439
Merge branch 'main' into no-empty-object
bobleesj 7a2603e
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] 8693153
Add metadata data by materials scientist
bobleesj e68b59e
Add name example to diffraction object example
bobleesj 235f624
Order x, y, xtype for _set_arrays
bobleesj 88ea61b
Remove 0.71 harded coded wavelength
bobleesj 6b20c1a
Add wavelength of 0.711 and 0.71 back
bobleesj 9f0f11a
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] aa1af39
Final setup of wavelenth value comparison
bobleesj d09d7fb
news tweak
sbillinge 0e362c1
tweak name example
sbillinge c142240
tweak array length error message
sbillinge 24b1bbc
fix missing quote
sbillinge 2c51af1
fix error message check
sbillinge ba4b985
[pre-commit.ci] auto fixes from pre-commit hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* `DiffractionObject` requires 3 input parameters of `xarray`, `yarray`, `xtype`, to be instantiated. It can be instantiated with empty arrays. | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* <news item> | ||
|
||
**Security:** | ||
|
||
* <news item> |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.