multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Instance and Communicator both check for connectedness #279

Open LourensVeen opened 7 months ago

LourensVeen commented 7 months ago

Communicator.receive() takes a default message for when the port is not connected, but Instance.__receive_message() checks for this too, so that this is now implemented twice in different places. Should be investigated and cleaned up.

LourensVeen commented 7 months ago

Actually, the check is mostly in Communicator, Instance just does a check to generate a more helpful error message. Maybe a non-issue?