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

remove hoomd 2 from environment file #36

Merged
merged 3 commits into from
Mar 28, 2022

Conversation

chrisjonesBSU
Copy link
Member

Having hoomd2 as a dependency creates a problem when trying to use cmeutils in an environment that also has hoomd 3. Since we only need hoomd for the xml_to_gsd function, I moved the hoomd imports inside of that function and throw an error if the user needs to add hoomd 2 to their environment.

@codecov
Copy link

codecov bot commented Mar 28, 2022

Codecov Report

Merging #36 (0f420d5) into master (a7695c6) will decrease coverage by 0.60%.
The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   99.69%   99.09%   -0.61%     
==========================================
  Files           7        7              
  Lines         328      331       +3     
==========================================
+ Hits          327      328       +1     
- Misses          1        3       +2     
Impacted Files Coverage Δ
cmeutils/gsd_utils.py 97.59% <60.00%> (-2.41%) ⬇️

Copy link
Member

@jennyfothergill jennyfothergill left a comment

Choose a reason for hiding this comment

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

LGTM

@chrisjonesBSU chrisjonesBSU merged commit 08c1605 into cmelab:master Mar 28, 2022
@chrisjonesBSU chrisjonesBSU deleted the remove_hoomd branch March 28, 2022 19:25
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