mosdef-hub / mbuild

A hierarchical, component based molecule builder
https://mbuild.mosdef.org
Other
171 stars 79 forks source link

Error when Compiling Docs Locally #1174

Closed jaclark5 closed 4 months ago

jaclark5 commented 5 months ago

Bug summary

Compiled Docs locally resulted in an error:

File "/Users/jac16/bin/miniconda3/envs/mosdef-dev/lib/python3.8/site-packages/unyt/_physical_ratios.py", line 101, in <module>
    mu_0 = 4.0e-7 * np.pi
TypeError: unsupported operand type(s) for *: 'float' and 'Mock'

Code to reproduce the behavior

make html

Software versions

daico007 commented 5 months ago

Hi @jaclark5, sorry it took me a bit to come around this. I was able to recreate the issue you saw and started working on a fix in #1177

daico007 commented 4 months ago

Should have been fixed by #1177