change: units and io refactoring

This commit is contained in:
Benoît Sierro
2023-09-12 11:55:35 +02:00
parent 292896bdce
commit ae09fdd3d0
7 changed files with 58 additions and 27 deletions

View File

@@ -126,8 +126,8 @@ def test_zip_data_copy(tmp_path: Path):
prop = propagation(tmp_path / "file.zip")
assert prop.parameters.effective_area_file.load_data() == new_aeff_path.read_bytes()
assert prop.parameters.dispersion_file.load_data() == new_disp_path.read_bytes()
assert prop.parameters.effective_area_file.load_bytes() == new_aeff_path.read_bytes()
assert prop.parameters.dispersion_file.load_bytes() == new_disp_path.read_bytes()
def test_zip_bundle(tmp_path: Path):