Closed yoelcortes closed 1 year ago
@sarangbhagwat,
Thanks for letting me know about the bug with unlinking multistreams! This pull fixes it and adds a doctest.
>>> import thermosteam as tmo >>> tmo.settings.set_thermo(['Water', 'Ethanol'], cache=True) >>> s1 = tmo.Stream('s1', Water=20, Ethanol=10, units='kg/hr') >>> s2 = tmo.Stream('s2') >>> s1.phases = s2.phases = ('l', 'g') >>> s2.link_with(s1) >>> s1.imol.data is s2.imol.data True >>> s1.unlink() >>> s1.imol.data is s2.imol.data False
Thanks!
Looks good to me. Thanks for the fix!
@sarangbhagwat,
Thanks for letting me know about the bug with unlinking multistreams! This pull fixes it and adds a doctest.
Thanks!