| 77 | static const cString GetDescription() { return "Arguments: <cString fname> [int update=-1] [int cellid_offset=0] [int lineage_offset=0] [bool load_groups=0] [bool load_birth_cells=0] [bool load_avatars] [bool load_rebirth] [bool load_parent_dat] [int load_traceq]"; } |
| 78 | |
| 79 | void Process(cAvidaContext& ctx) |
| 80 | { |
| 81 | // set the update if requested |
| 82 | if (m_update >= 0) m_world->GetStats().SetCurrentUpdate(m_update); |
| 83 | |
| 84 | if (!m_world->GetPopulation().LoadPopulation(m_filename, ctx, m_cellid_offset, m_lineage_offset, m_load_groups, m_load_birth_cells, m_load_avatars, m_load_rebirth, m_load_parent_dat, m_load_traceq)) { |
| 85 | m_world->GetDriver().Feedback().Error("failed to load population"); |
| 86 | m_world->GetDriver().Abort(Avida::INVALID_CONFIG); |
| 87 | } |
| 88 | } |
| 89 | }; |
| 90 | |
| 91 | class cActionLoadParasiteGenotypeList : public cAction |
nothing calls this directly
no test coverage detected