# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # Evo-COMETS (BETA)
#
# This notebook shows an example of a evo-COMETS simulation, without really any meaningful result. 

import comets as c
import os
import pandas as pd

# We first use the `params` class to load some parameters files. 
#
# Note that if we had initialized the object without arguments, it would have returned al parameters set to their default value.

# +
# .. load parameters and layout from file
my_params = c.params('test_evolution/global_params', 'evolution/package_params')
my_layout = c.layout('test_evolution/layout_blueprint')

# create comets object from the loaded parameters and layout 
my_comets = c.comets(my_layout, my_params)

# run comets simulation
my_comets.run()
# -

my_comets.evolution

my_comets.genotypes

StarcoderdataJupyterScriptsDedupFiltered