No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gaspard Jankowiak 97c6366ed7 metrics crashed flag 22 hours ago
configs batch 4 weeks ago
configs_metrics test 4 weeks ago
initial_conditions config + init torino 1 year ago
plot_data update plots (width, depth, pulsation) 11 months ago
src metrics crashed flag 22 hours ago
.gitignore add gitignore 1 year ago
Manifest.toml update 4 weeks ago
Project.toml update 4 weeks ago
README.md Debugging nucleus again 1 year ago
checkout.sh add checkout.sh diff_dump.sh 1 year ago
diff_dumps.sh add checkout.sh diff_dump.sh 1 year ago
example_config.yaml add example configuration 11 months ago
go.jl add go file 1 year ago
metrics.jl test 4 weeks ago
metrics_depth.jl test 4 weeks ago
metrics_nonuc_beta.jl update plots (width, depth, pulsation) 11 months ago
metrics_nonuc_omega.jl update plots (width, depth, pulsation) 11 months ago
metrics_nonuc_width.jl update plots (width, depth, pulsation) 11 months ago
metrics_nuc_beta.jl test 4 weeks ago
metrics_nuc_mu.jl test 4 weeks ago
metrics_nuc_mu_kb.jl metrics crashed flag 22 hours ago
metrics_nuc_omega.jl update plots (width, depth, pulsation) 11 months ago
metrics_nuc_width.jl test 4 weeks ago
metrics_runs.jl test 4 weeks ago
metrics_width.jl test 4 weeks ago
plot_all_the_plots.jl update plots (width, depth, pulsation) 11 months ago
plot_metrics.jl metrics 1 year ago
run.jl project structure 1 year ago

README.md

CellSim

Installation and first run

  • Install Julia 1.0 or newer
  • Clone this repository:

    $ git clone https://gitea.oknaj.eu/gjankowiak/CellSim
    
  • Switch directories and branch:

    $ cd CellSim
    $ git checkout nucleus
  • Download necessary packages: on the Julia prompt, hit ], you should get a prompt:
    pkg>
  • You can now do
    pkg> activate .

and

    (CellSim) pkg> instantiate
  • At this point you should be able to run the code with
    $ julia --project run.jl configs/straight.yaml

It can take a really long time (30 seconds or more) to start because of the initial loading required.

Configuration files

The models parameters are defined in YAML files located in the configs directory. You can of course copy and edit those. There are a large number of parameters, which are explained in short comments.

Troubleshooting

If you get an error like the following:

[NSApplication _setup:]
: unrecognized selector sent to instance 0x7f9183705170
2019-01-30 17:23:30.788 julia[2002:154898] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7f9183705170'

in expression starting at /Users/chiaragiverso/CellSim/run.jl:5
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 104904598 (Pool: 104879133; Big: 25465); GC: 227
Abort trap: 6

you can try installing PyPlot via julia directly:

    julia> ]
    pkg> add Conda
    julia>