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

We can now use two GSD files in welding.Interface #113

Merged
merged 17 commits into from
Jan 29, 2024
Merged

Conversation

chrisjonesBSU
Copy link
Member

@chrisjonesBSU chrisjonesBSU commented Jan 25, 2024

Before, only a single gsd file could be passed to Interface and it would be duplicated to make an interface system. This PR lets you pass either 1 or 2 gsd files and either builds the interface by replicating one, or using both. There are still come constraints (assume each gsd file has the same box size and number of particles), but for now, I think these can be addressed in a separate PR. I can open an issue about it.

To do:

  • Fix any failing unit tests
  • Update doc strings

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (381e905) 94.28% compared to head (0061a2a) 94.38%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   94.28%   94.38%   +0.10%     
==========================================
  Files          25       25              
  Lines        1801     1834      +33     
==========================================
+ Hits         1698     1731      +33     
  Misses        103      103              
Files Coverage Δ
flowermd/modules/welding/utils.py 100.00% <100.00%> (ø)
flowermd/modules/welding/welding.py 100.00% <100.00%> (ø)

Copy link
Collaborator

@marjanalbooyeh marjanalbooyeh left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

flowermd/modules/welding/welding.py Outdated Show resolved Hide resolved
@chrisjonesBSU chrisjonesBSU merged commit 924819c into main Jan 29, 2024
6 checks passed
@chrisjonesBSU chrisjonesBSU deleted the combine-slabs branch January 29, 2024 22:37
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.

2 participants