Skip to content

spaceteams.SC_Compute_Server.file_io

ReadEntityConfig

ReadEntityConfig(filepath: PathLike | str | bytes) -> spaceteams.SC_Compute_Server.EntityConfig

Read an EntityConfig from a properly formatted JSON file. Has good logging code for feedback about invalid syntax.

ReadParamMap

ReadParamMap(filepath: PathLike | str | bytes) -> spaceteams.SC_Compute_Server.ParamMap

Read a ParamMap from a properly formatted JSON file. Has good logging code for feedback about invalid syntax.

ReadSimConfig

ReadSimConfig(filepath: PathLike | str | bytes) -> spaceteams.SC_Compute_Server.SimConfig

Read a SimConfig from a properly formatted JSON file. Has good logging code for feedback about invalid syntax.

WriteEntityConfig

WriteEntityConfig(en: EntityConfig, filepath: PathLike | str | bytes) -> None

Write an EntityConfig to a JSON file. Has good logging code for feedback about invalid syntax.

WriteParamMap

WriteParamMap(parammap: ParamMap, filepath: PathLike | str | bytes) -> None

Write a ParamMap to a JSON file. Has good logging code for feedback about invalid syntax.

WriteSimConfig

WriteSimConfig(simconfig: SimConfig, filepath: PathLike | str | bytes) -> None

Write a SimConfig to a JSON file. Has good logging code for feedback about invalid syntax.