pyphi.mcp.install.write_registration#

pyphi.mcp.install.write_registration(path, entry, force=False)[source]#

Add the pyphi server to the config at path, keeping any others.

Returns:

bool – Whether the file was written. False means the entry was already present and identical.

Raises:

FileExistsError – If a different pyphi entry exists and force is not set.

Parameters:
Return type:

bool