multiscale / muscle3

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

Add --location-file option to muscle_manager (#216) #238

Closed LourensVeen closed 1 year ago

LourensVeen commented 1 year ago

This adds a new option to the muscle_manager program to specify that the manager's network location should be written to a given file. If the option is given, the location will not be printed to standard output.

If the option is not given, the location will be printed to standard output as before, except that we now flush the stream so as to make sure it actually ends up with the reader in a finite amount of time.

Addresses #216

LourensVeen commented 1 year ago

Failed tests are due to a compatibility issue with mypy and typing_extensions and are not related to this change, which can be merged safely.