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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simera
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Supply Chain Simulation Tool
5
5
  Author-email: "Artur. Blachnio" <blachnio.artur@gmail.com>
6
6
  License: MIT
@@ -11,7 +11,7 @@ include = ["simera*", "simera.config*"]
11
11
 
12
12
  [project]
13
13
  name = "simera"
14
- version = "0.3.0"
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"}
@@ -1,4 +1,4 @@
1
- __version__ = '0.3.0'
1
+ __version__ = '0.3.1'
2
2
 
3
3
  from simera.config import Config
4
4
  from simera.zipcode import ZipcodeManager
@@ -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'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}')
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simera
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Supply Chain Simulation Tool
5
5
  Author-email: "Artur. Blachnio" <blachnio.artur@gmail.com>
6
6
  License: MIT
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