simera 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simera-0.3.0 → simera-0.3.1}/PKG-INFO +1 -1
- {simera-0.3.0 → simera-0.3.1}/pyproject.toml +1 -1
- {simera-0.3.0 → simera-0.3.1}/simera/__init__.py +1 -1
- {simera-0.3.0 → simera-0.3.1}/simera/scenario.py +1 -1
- {simera-0.3.0 → simera-0.3.1}/simera.egg-info/PKG-INFO +1 -1
- {simera-0.3.0 → simera-0.3.1}/README.md +0 -0
- {simera-0.3.0 → simera-0.3.1}/setup.cfg +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/activity.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/config/__init__.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/config/country.yaml +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/cost.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/presets.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/ratesheet.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/scenario_item.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/units.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/utils.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera/zipcode.py +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera.egg-info/SOURCES.txt +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera.egg-info/dependency_links.txt +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera.egg-info/requires.txt +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera.egg-info/top_level.txt +0 -0
- {simera-0.3.0 → simera-0.3.1}/simera_inputs/config/generate_configs.py +0 -0
|
@@ -11,7 +11,7 @@ include = ["simera*", "simera.config*"]
|
|
|
11
11
|
|
|
12
12
|
[project]
|
|
13
13
|
name = "simera"
|
|
14
|
-
version = "0.3.
|
|
14
|
+
version = "0.3.1"
|
|
15
15
|
description = "Supply Chain Simulation Tool"
|
|
16
16
|
authors = [{ name = "Artur. Blachnio", email = "blachnio.artur@gmail.com" }]
|
|
17
17
|
license = {text = "MIT"}
|
|
@@ -415,7 +415,7 @@ class Scenario:
|
|
|
415
415
|
raise DataInputError(f'No cost found for selected activities. Make sure that zone can be found in the ratesheets.',
|
|
416
416
|
solution=f'Typically: "dest_ctry"/"dest_zip" is not in activity_config.data.dims or "must_match" requires "src_site"/"trpmode"')
|
|
417
417
|
cost_summary_df.sort_values(['activity_id', 'cost_total'], ignore_index=True, inplace=True)
|
|
418
|
-
print(f
|
|
418
|
+
print(f"Done. Best cost = {cost_summary_df.sort_values(by=['activity_id', 'cost_total'], ascending=[True, True]).drop_duplicates(subset=['activity_id'], keep='first').cost_total.sum():0,.0f}")
|
|
419
419
|
return cost_summary_df, activities_with_cost, activities_without_ratesheets
|
|
420
420
|
|
|
421
421
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|