Skip to content

Commit

Permalink
Proper default for FormatXTC's delta_k (#490)
Browse files Browse the repository at this point in the history
delta_k needs to have a default of 0 instead of None.
  • Loading branch information
phyy-nx authored Feb 24, 2022
1 parent 8d9a462 commit a6a15f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/490.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix wavelength bug in FormatXTC for older datasets
2 changes: 1 addition & 1 deletion src/dxtbx/format/FormatXTC.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
use_ffb = False
.type = bool
.help = Run on the ffb if possible. Only for active users!
wavelength_delta_k = None
wavelength_delta_k = 0
.type = float
.help = Correction factor, needed during 2014
wavelength_offset = None
Expand Down

0 comments on commit a6a15f3

Please sign in to comment.