## v0.4.3 (2023-02-10)

### Fix

  • networks.py: fix bug #86, ensured the merged_lines object is a GeoDataFrame and not sometimes a Series. Updated related test.

## v0.4.2 (2023-02-10)

### Fix

  • README.rst: typo fixed, issue #80 thanks Anoek!

## v0.4.1 (2023-02-09)

### Fix

  • test_acceptance.py: fixed the test_1_1_given_only_network_shape_redundancy data and added assert statements to networks.py

  • networks_utils.py: Fixed function get_valid_mean, now it is tested.

## v0.4.0 (2023-02-08)

### Feat

  • ra2ce/analyses/direct/damage_calculation/: Split previous file into files within a submodule

  • ra2ce/analyses/direct/damage/: Added damage functions for direct analysis

### Fix

  • networks_utils.py: Fixed one bug in networks_utils.py for the creation of a network from shp and related test (test_1_1_given_only_network_shape_redundancy).

  • analyses_direct.py;damage_network_base.py: Removed circular import

  • analyses_direct.py: Fixed some imports in the analyses_direct.py file

## v0.3.1 (2022-09-26)

### Fix

  • analysis_indirect.py;network_utils.py: Fixed errors spotted by sonar cloud

  • networks.py;networks_utils.py: Fixed critical issues spotted by SonarCloud

## v0.3.0 (2022-09-22)

### Feat

  • config_factory; analysis_config_factory: Split ConfigData creation from IniConfigDataReaders. Introduced factories to deal with the selection criteria for network / analysis and their concrete types

## v0.2.0 (2022-09-21)

### Feat

  • config_reader_factory: Added factory to reduce responsibilities at a higher level

  • Added IniConfigDataProtocol concept

  • ra2ce_handler.py: Applied Factory patter for analysis runner

  • main.py: Now we properly check input from comand line

  • Moving ra2ce.py logic into class approach

### Fix

  • IniConfigValidatorBase: Updated config_data parameter type so it’s properly casted

  • Existen network files were not correctly mapped

  • Introduced a small error on a previous refactoring when refering to the parent path of the ini files

  • Now we generate networks when no analysis is required

  • Network initializes now its own output directories

  • ra2ce.py;utils.py: Small code reworks to make sure the tests run correctly

  • Changed a bit of the logic to ensure a log file is created if not present

### Refactor

  • ra2ce/configuration: Made the config classes parameterless

  • ra2ce/io/readers: Extracted concrete readers for better readability

  • Inversed logic so it properly respects Single Responsibiltity Principle

  • networks.py: Removed phased out save_network usages

  • hazard.py: Removed from hazard phased out save_network

  • network_exporter_factory: Moved saved_network into more OO aproach

  • json_exporter.py: Extracted json exporter into separate file / module

  • ra2ce/validation: Moved out general validation classes to separate module

  • renamed and moved checks into proper module

  • Removed utils and moved logic into reader for future further refactoring

  • ra2ce/io: Moved io into its own module

  • ra2ce/runners: Extracted runners logic into separate module

  • ra2ce/configuration: Extracted classes into separate m odule

  • Replaced previous main with a more OO approach

## v0.1.1 (2022-09-13)

### Fix

  • setup.py: Encoding for the rst files should be enforced

## v0.1.0 (2020-09-25)

  • First release on PyPI.