Skip to content

1.1.0

Choose a tag to compare

@wmayner wmayner released this 30 May 19:14
· 1634 commits to develop since this release
1.1.0
d29e93a

Fixes

  • Fixed a memory leaked when concepts returned by parallel CES computations
    were returned with distinct subsystem objects. Now all objects in a CES
    share the same subsystem reference.
  • Fixed a race condition caused by newly introduced tqdm synchronization.
    Removed the existing ProgressBar implementation and pinned tqdm to
    version >= 4.20.0.
  • Made model hashes deterministic (6b59061). This fixes an issue with the
    Redis MICE cache in which cached values were not shared between processes
    and program invokations.

API additions

  • Added a NodeLabels object for managing the labels of network elements.
    Most models now carry a NodeLabels instance that is used for string
    formatting.
  • Added the cut_node_labels property to Subsystem and MacroSubsystem.
  • Added utils.time_annotated decorator to measure execution speed.

API changes

  • Specifying the nodes of a Subsystem is now optional. If not provided, the
    subsystem will cover the entire network.
  • Removed the labels2indices, indices2labels and parse_node_indices
    methods from Network, and the indices2labels method from Subsystem.
  • Renamed config.load_config_file to config.load_file, and
    config.load_config_dict to config.load_dict
  • Removed backwards-compatible Direction import from constants module.
  • Renamed macro.coarse_grain to coarse_graining.
  • Exposed coarse_grain, blackbox, time_scale, network_state and
    micro_node_indices as attributes of MacroSubsystem.

Config

  • Removed the LOG_CONFIG_ON_IMPORT configuration option.