Skip to content
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

Fix reversion in dataset.py (#87) #90

Merged
merged 2 commits into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions reciprocalspaceship/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
apply_to_hkl,
bin_by_percentile,
canonicalize_phases,
compute_dHKL,
compute_structurefactor_multiplicity,
from_structurefactor,
hkl_to_asu,
Expand Down Expand Up @@ -786,7 +785,7 @@ def compute_dHKL(self, inplace=False):
inplace : bool
Whether to add the column in place or return a copy
"""
dHKL = compute_dHKL(self.get_hkls(), self.cell)
dHKL = self.cell.calculate_d_array(self.get_hkls())
self["dHKL"] = DataSeries(dHKL, dtype="R", index=self.index)
return self

Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["config:base", ":disableDependencyDashboard"],
"packageRules": [
"packageRules": [
{ "updateTypes": ["major", "minor", "patch", "digest", "bump"], "addLabels": ["version"] }
]
}