Skip to content

Conversation

lrennels
Copy link
Collaborator

@lrennels lrennels commented Sep 27, 2021

When we connect a variable from one component to the parameter of another, we only want to check if the units match if both have been explicitly set .. ie. if the parameter has units "" by default, and the variable has units "millions" we don't want to error.

@codecov
Copy link

codecov bot commented Sep 27, 2021

Codecov Report

Merging #844 (ee28448) into master (e1ff9c5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #844      +/-   ##
==========================================
+ Coverage   84.28%   84.30%   +0.01%     
==========================================
  Files          40       40              
  Lines        3787     3790       +3     
==========================================
+ Hits         3192     3195       +3     
  Misses        595      595              
Flag Coverage Δ
unittests 84.30% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/connections.jl 89.21% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1ff9c5...ee28448. Read the comment docs.

@lrennels lrennels merged commit 666b6ba into master Sep 28, 2021
@lrennels lrennels deleted the unit-checking branch September 28, 2021 01:35
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