-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #394 from HEXRD/remove_duplicate_atom_fix
Remove duplicate atom fix
- Loading branch information
Showing
2 changed files
with
63 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -399,6 +399,15 @@ def compute_powder_overlay(self, | |
p = [t, fwhm] | ||
self.powder_overlay += scale*I*_unit_gaussian(p, ttharray) | ||
|
||
def remove_duplicate_atoms(self): | ||
""" | ||
this function calls the same function in the | ||
unitcell class and updates planedata structure | ||
factors etc. | ||
""" | ||
self.unitcell.remove_duplicate_atoms() | ||
self._hkls_changed() | ||
|
||
def _readCif(self, fcif=DFLT_NAME+'.cif'): | ||
""" | ||
>> @AUTHOR: Saransh Singh, Lawrence Livermore National Lab, [email protected] | ||
|
This file contains 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