Mentions légales du service

Skip to content
Snippets Groups Projects
  1. Nov 25, 2020
    • Vincent Liard's avatar
      Update contributors list · 259a14e3
      Vincent Liard authored
      Added Laurent Turpin to the list of major contributors to
      Aevol source code.
      259a14e3
    • Vincent Liard's avatar
      Update the `README` file · 2494be0d
      Vincent Liard authored
      Update the indications in the README file to somehow help
      new user get Aevol compiled and started. This is certainly
      not a full guide, but hopefully a collection of clues.
      2494be0d
    • Vincent Liard's avatar
      Update contributors list · 93d5efd2
      Vincent Liard authored
      Added Marco Foley and Théotime Grohens to the list of major
      contributors to Aevol source code.
      93d5efd2
    • Vincent Liard's avatar
      Remove outdated lines from .gitignore · 87bf560b
      Vincent Liard authored
      The autotools have previously been removed from the Aevol
      build chain in favor of CMake. This commit removes git
      ignore rules that dealt with in source build and autotools
      generated files.
      87bf560b
  2. Nov 09, 2020
    • Théotime Grohens's avatar
      Merge branch 'factor-mutations' into 'aevol_7' · eea105eb
      Théotime Grohens authored
      [DnaReplicationReport] Factor the loops over the 3 mutation types
      
      See merge request aevol/aevol!32
      eea105eb
    • Théotime Grohens's avatar
      [DnaReplicationReport] Factor the loops over the 3 mutation types · 804b602a
      Théotime Grohens authored
      Throughout the post-treatments, there is a pattern to iterate over all
      mutations contained in the DnaReplicationReport of individuals.
      
      As these are split into 3 std::lists of different types, the body of the
      loop is usually repeated 3 times (once for each list), which is prone to
      mistakes and hard to update if we want to add a new mutation type.
      
      This commit factors this code by introducing a higher-order template
      method named DnaReplicationReport::iter_muts(f), which takes a function
      f and runs f(mut) for all mutations mut in the 3 lists.
      
      This replaces the existing code very easily by turning the loop bodies
      into a single lambda block, and allows us to change the code in one
      single place (iter_muts()) if we want to introduce more mutation types.
      
      Moreover, as the function iter_muts is compiled once for each call with a
      different function f, and can be inlined, there should be no performance hit
      compared to the original loops.
      804b602a
  3. Nov 06, 2020
    • Théotime Grohens's avatar
      [World] Disable indiv_by_id() · 904a190a
      Théotime Grohens authored
      With clones, the individual id is not injective or surjective anymore.
      Hence, a call to indiv_by_id() can return nullptr even for suspectedly
      valid ids. This was the cause for a bug in the lineage post-treatment.
      
      This commit therefore disables this method to avoid such problems.
      904a190a
  4. Nov 05, 2020
  5. Nov 04, 2020
    • Théotime Grohens's avatar
      [aevol_post_lineage] Fix bug with indiv_by_id · 2f3c3d61
      Théotime Grohens authored
      When running the `aevol_post_lineage` post-treatment, individuals
      generated by ReplicationReports are periodically checked against
      individuals recovered from backups to make sure everything is in order.
      
      Up until now, these backed-up individuals were loaded with the
      ExpManager::indiv_by_id() method. However, as clones can share the same
      id, this method no longer works and should not be called anymore (and is
      to be removed later on).
      
      This commit addresses this by correctly loading the individual with the
      World::indiv_at() method, which takes the x and y coordinates instead of
      the id.
      2f3c3d61
  6. Nov 03, 2020
  7. Oct 30, 2020
  8. Oct 28, 2020
  9. Oct 26, 2020
  10. Oct 22, 2020
    • Théotime Grohens's avatar
      Merge branch 'print-commit' into 'aevol_7' · 631976e0
      Théotime Grohens authored
      [aevol] Print compile commit branch, hash and date
      
      See merge request aevol/aevol!30
      631976e0
    • Théotime Grohens's avatar
      [aevol] Print compile commit branch, hash and date · ee8f2200
      Théotime Grohens authored
      This commit adds the ability to get the branch, date and hash of the
      commit that was used to compile Aevol from within the C++ source of Aevol.
      
      This is useful because it allows us to print it (for example) at the
      beginning of the execution of one of the Aevol programs, making it
      easier to see whether we're running the right version.
      
      In order to do this, a special file `aevol_version.cpp.in` is introduced.
      This file is modified by CMake a first time at configure time, replacing
      a placeholder with the value of the PROJECT_VERSION CMake variable, and
      a second time at compile time, replacing a placeholder with a custom
      CMake variable that holds the branch, hash and date.
      
      This turns the file into a regular C++ source file, that is then compiled
      and linked with the rest of Aevol through the `aevol_version.h` header.
      
      Finally, we print this string in the two most commonly used Aevol
      executables, `aevol_create` and `aevol_run`.
      ee8f2200
  11. Oct 21, 2020
  12. Oct 14, 2020
Loading