Skip to content

cymr 0.12.0

Compare
Choose a tag to compare
@mortonne mortonne released this 27 Jun 07:36
· 2 commits to master since this release

This version reorganizes the CMR API to make it easier to use. Internally, the modules have also been reorganized to separate model-agnostic code (the general Parameters class) from model-specific code (CMR-specific parameters). This should make it easier to add support for other models in the future.

API changes:

  • Saving and loading model patterns is now done using the CMR module (use cymr.cmr.load_patterns and cymr.cmr.save_patterns instead of cymr.network.load_patterns and cymr.network.save_patterns).
  • CMR parameter configuration is now specified by the model-specific cymr.cmr.CMRParameters class instead of the generic cymr.parameters.Parameters class.
  • Reading CMR configuration files is now done using cymr.cmr.read_config instead of cymr.parameters.read_json.