Yoshua Wakeham | ee686925109 | Implement __repr__ for remaining classes, and revamp subpop.info() method | | |
Yoshua Wakeham | a18c27b8c49 | Make Treatment an abstract base class, and create concrete SingleDoseTreatment class | | |
Yoshua Wakeham | d06b3d7dcc5 | Ensure population archive is extracted to run dir, to avoid simulations overwriting each other | | |
Yoshua Wakeham | 7bd6937e12d | Tweaks to loading procedure, including timing the load, and trying to resolve select_time inconsistency | | |
Yoshua Wakeham | 5b7e27f7a36 | Fix bug with required, mutually-exclusive cmd line params | | |
Yoshua Wakeham | 5a7565f39ea | Update default config file and run_param_set to include loading option | | |
Yoshua Wakeham | 008ee2774eb | Let store_flag_and_vars take multiple variables | | |
Yoshua Wakeham | e049c4e8c0f | Condense initial diversity cmd line params | | |
Yoshua Wakeham | efaa4b1ae47 | Add cmd line param to allow snapshot loading | | |
Yoshua Wakeham | 2eb86bbd57b | Implement popn loading procedure in Simulator | | |
Yoshua Wakeham | 8b0e40c5ab8 | Add start_cycle parameter to simulator.run() | | |
Yoshua Wakeham | c5bba1eb1ad | Store analytics in snapshot | | |
Yoshua Wakeham | 28012d9d25b | Add t_curr to saved parameters | | |
Yoshua Wakeham | 6fb1d59fbe4 | Remove seemingly unused treatment params from simulator object | | |
Yoshua Wakeham | 9196a01c2cb | Ignore undo files | | |
Yoshua Wakeham | d36a96ef0e2 | Remove unused simulator.is_running flag | | |
Yoshua Wakeham | 18e5f4d697d | Implement neutral mutation count; remove neutral mutations from clone mut dictionaries | | |
Yoshua Wakeham | f91d99a775f | Add classify_neutral method to Mutation class | | |
Yoshua Wakeham | ebc9f4d809c | Add creation timestamp to Mutation class | | |
Yoshua Wakeham | 4ee0b827007 | Change default size limit to 10million | | |
Yoshua Wakeham | 68e8ebc0d42 | Add __repr__ methods for simulator, analytics | | |
Yoshua Wakeham | 4d06468430e | Add manual garbage collection after pruning dead-end clones, in case this improves mem usage | | |
Yoshua Wakeham | 32f89d434ec | Fix error in cmd line param names | | |
Yoshua Wakeham | 8407c5d7267 | Add cmd line param for saving snapshot | | |
Yoshua Wakeham | ed4ca868383 | Organise cmd line params | | |
Yoshua Wakeham | 3056d510002 | Clean up and simplify snapshot.py | | |
Yoshua Wakeham | 5559805e23b | Move all constants to new constants module | | |
Yoshua Wakeham | f118106df65 | Move beta dist sample from global (simulator) attribute, to method in mutation module | | |
Yoshua Wakeham | 1556b301d0c | Clean up files after loading population from archive | | |
Yoshua Wakeham | cbc75af9d97 | Remove get_beta_dist_sample from pickled opt, and use repr() for writing the CSV files | | |
Yoshua Wakeham | 537688d57f8 | Fix bug in Population.init_from_file | | |
Yoshua Wakeham | a50e7622554 | Add filepath argument to save_population func | | |
Yoshua Wakeham | e6669cce115 | Implement init_from_file func for Population | | |
Yoshua Wakeham | f6e8f489f96 | Implement param storage, and rewrite main save/load funcs to take/return population objects | | |
Yoshua Wakeham | 52777a04b7f | Create file with functions for saving/loading populations to file.Still work in progress. | | |
Yoshua Wakeham | 9eb7590193d | Create class method to load mutation from file | | |
Yoshua Wakeham | 2fe452c6120 | Create class method to load subpop from file; also add object counter for generating clone IDs | | |
Yoshua Wakeham | f73c5b27f0c | Various changes to clone plot | | |
Yoshua Wakeham | 22386ceec8a | Tweak legend location on clone plot | | |
Yoshua Wakeham | 4e7001fe4c9 | Allow asymmetric neutral thresholds for pos/neg mutations.Set neg to 1%, pos to 5%. | | |
Yoshua Wakeham | 3fecbb31b25 | Prune dead mutations before generating resistance | | |
Yoshua Wakeham | 7c968cb941c | Rename is_dead_end to is_dead_leaf, and add new is_dead_end func | | |
Yoshua Wakeham | 6109e3bc811 | Squash bug in switch_mutn_type causing sims to crash | | |
Yoshua Wakeham | 6031f4812fc | Add switch_mutn_type() mutator func to fix errors where mut_type was changed but mutn wasn't moved to correct list in all_muts | | |
Yoshua Wakeham | 45602a5ebb1 | Write extra clone summary just after resistance is generated | | |
Yoshua Wakeham | e3c0083bf5c | Simplify make_plot and make_dual_plot functions | | |
Yoshua Wakeham | 022c1b8b023 | Working on simplifying plotting functions.WORK IN PROGRESS, currently broken | | |
Yoshua Wakeham | b74e99f40f6 | Change scale of clone size plot to symlog (linear near 0, log elsewhere) | | |
Yoshua Wakeham | 958cda68a60 | Add matplotlibrc for global default plot settings | | |
Yoshua Wakeham | 00cac76de31 | Keep working on clonal frequency plot | | |