Skip to content

Conversation

@nisse3000
Copy link
Contributor

Addresses Issue #3973

Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nisse3000 this looks good to me! could you fix the 3 failing TestCrystalNN cases?


return (area1 - area2) / (0.25 * math.pi * radius**2)

@staticmethod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a link to your issue to the _semicircle_integral doc string for later reference?

also, would be good to type-hint both the old and your new method

…ith old semicircle function, and type-hinted functions
Returns:
bool: Whether this site contains a certain list of elements
boolean: Whether this site contains a certain list of elements
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be reverted

# Update any user preference elemental radii
if el_radius_updates:
self.el_radius |= el_radius_updates
self.el_radius.update(el_radius_updates)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

the derived parameters from 'Atoms Sizes and Bond Lengths in Molecules
and Crystals' (O'Keeffe & Brese, 1991). The estimate is based on two
experimental parameters: r and c. The value for r is based off radius,
experimental parameters: r and c. The value for r is based off radius,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

@shyuep shyuep enabled auto-merge (squash) April 15, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants