Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Clean up comments
  • Loading branch information
janbridley committed Mar 12, 2025
commit 8c090043b9d78181821b66bceeaca8799ee96478
6 changes: 2 additions & 4 deletions parsnip/parsnip.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,10 +556,7 @@ def build_unit_cell(
cell_matrix = _matrix_from_lengths_and_angles(*cell)

symops_str = np.array2string(
symops,
separator=",", # Place a comma after each line in the array for eval
threshold=np.inf, # Ensure that every line is included in the string
floatmode="unique", # Ensures strings can uniquely represent each float
symops, separator=",", threshold=np.inf, floatmode="unique"
)

all_frac_positions = [
Expand Down Expand Up @@ -591,6 +588,7 @@ def build_unit_cell(

# Merge unique points from realspace and fractional calculations
unique_indices = sorted({*unique_fractional} & {*unique_realspace})
# TODO: Reintroduce AFLOW test suite

if verbose:
_write_debug_output(
Expand Down
Loading