diff --git a/.gitignore b/.gitignore index 2e4e086..fa523e1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ Pipfile.lock results .mypy_cache *.csv -*.txt simulations/.ipynb_checkpoints simulations/validation/config3.py cadCAD.egg-info diff --git a/AUTHORS.txt b/AUTHORS.txt new file mode 100644 index 0000000..e2aaf63 --- /dev/null +++ b/AUTHORS.txt @@ -0,0 +1,29 @@ +Authors +======= + +cadCAD was originally implemented by Joshua E. Jodesty and designed by Michael Zargham, Markus B. Koch, and +Matthew V. Barlin from 2018 to 2019. + + +Project Maintainers: +- Joshua E. Jodesty +- Markus B. Koch + + +Contributors: +- Joshua E. Jodesty +- Markus B. Koch +- Matthew V. Barlin +- Michael Zargham +- Zixuan Zhang + + +We’d also like to thank: +- Andrew Clark +- Nikhil Jamdade +- Nick Hirannet +- Harry Goodnight +- Charlie Hoppes +- Jonathan Gabler +- Charles Rice + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..31326fb --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-2019 BlockScience + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/cadCAD/engine/__init__.py b/cadCAD/engine/__init__.py index 8147f5f..c236faa 100644 --- a/cadCAD/engine/__init__.py +++ b/cadCAD/engine/__init__.py @@ -70,11 +70,22 @@ class Executor: config_proc = Processor() create_tensor_field = TensorFieldReport(config_proc).create_tensor_field - print(self.exec_context+": "+str(self.configs)) + + print(r''' + __________ ____ + ________ __ _____/ ____/ | / __ \ + / ___/ __` / __ / / / /| | / / / / + / /__/ /_/ / /_/ / /___/ ___ |/ /_/ / + \___/\__,_/\__,_/\____/_/ |_/_____/ + by BlockScience + ''') + print(f'Execution Mode: {self.exec_context + ": " + str(self.configs)}') + print(f'Configurations: {self.configs}') + var_dict_list, states_lists, Ts, Ns, eps, configs_structs, env_processes_list, partial_state_updates, simulation_execs = \ [], [], [], [], [], [], [], [], [] config_idx = 0 - print(self.configs) + for x in self.configs: Ts.append(x.sim_config['T']) diff --git a/cadCAD/engine/simulation.py b/cadCAD/engine/simulation.py index c5818a4..32e9c5b 100644 --- a/cadCAD/engine/simulation.py +++ b/cadCAD/engine/simulation.py @@ -1,4 +1,3 @@ -from pprint import pprint from typing import Any, Callable, Dict, List, Tuple from pathos.pools import ThreadPool as TPool from copy import deepcopy @@ -170,9 +169,6 @@ class Executor: time_step += 1 - pprint(states_list) - print() - return states_list # state_update_pipeline