Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cadCAD-org/cadCAD
Browse files Browse the repository at this point in the history
  • Loading branch information
danlessa committed Apr 12, 2024
2 parents 9fc2ffc + f17077f commit e2f47a2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions cadCAD/tools/execution/easy_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def describe_or_return(v: object) -> object:
return f'function: {v.__name__}'
elif isinstance(v, types.LambdaType) and v.__name__ == '<lambda>':
return f'lambda: {inspect.signature(v)}'
elif isinstance(v, list):
return str(v)
else:
return v

Expand Down
4 changes: 2 additions & 2 deletions cadCAD/tools/preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def sweep_cartesian_product(sweep_params: SweepableParameters) -> SweepableParam
transpose_cartesian_product = zip(*cartesian_product)
zipped_sweep_params = zip(sweep_params.keys(), transpose_cartesian_product)
sweep_dict = dict(zipped_sweep_params)
sweep_dict = {k: tuple(v) for k, v in sweep_dict.items()}
sweep_dict = {k: list(v) for k, v in sweep_dict.items()}
return sweep_dict


Expand Down Expand Up @@ -70,4 +70,4 @@ def run(self, *args, **kwargs) -> DataFrame:
self.samples,
*args,
**kwargs)
return output
return output
17 changes: 14 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from setuptools import find_packages, setup

short_description = "cadCAD: a differential games based simulation software package for research, validation, and \
short_description = (
"cadCAD: a differential games based simulation software package for research, validation, and \
Computer Aided Design of economic systems"
)

long_description = """
cadCAD (complex adaptive systems computer-aided design) is a python based, unified modeling framework for stochastic
Expand All @@ -21,7 +23,7 @@
"""

name = "cadCAD"
version = "0.5.1"
version = "0.5.2"

setup(
name=name,
Expand All @@ -33,6 +35,15 @@
author_email="[email protected]",
license="LICENSE.txt",
packages=find_packages(),
install_requires=["pandas", "funcy", "dill", "pathos", "numpy", "pytz", "six", "tqdm"],
install_requires=[
"pandas",
"funcy",
"dill",
"pathos",
"numpy",
"pytz",
"six",
"tqdm",
],
python_requires=">=3.9.0",
)

0 comments on commit e2f47a2

Please sign in to comment.