Changeset 1100 for experiments


Ignore:
Timestamp:
03/05/21 19:34:20 (3 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic / minor fixes

Location:
experiments/frams/foraminifera/data/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.expdef

    r1098 r1100  
    988988
    989989property:
    990 id:print_output
    991 name:Print messages
    992 help:Print messages on evolution progress.
    993 group:Extras
    994 type:d 0 1 0
    995 
    996 property:
    997990id:visualize
    998991name:Show reticulopodia and nutrients
     
    10111004type:f 0 -1 0.01
    10121005group:
    1013 
    1014 property:
    1015 id:logging
    1016 name:Log statistics to file
    1017 type:d 0 1 0
    1018 group:
    1019 
    1020 property:
    1021 id:logPref
    1022 name:Log prefix
    1023 type:s
    10241006
    10251007property:
     
    12811263type:d 0 1 0
    12821264
     1265property:
     1266id:logging
     1267name:Log statistics to file
     1268type:d 0 1 0
     1269group:
     1270
     1271property:
     1272id:logPref
     1273name:Log prefix
     1274type:s
     1275
     1276property:
     1277id:print_evol_progress
     1278name:Print evolution progress
     1279help:Print messages on evolution progress
     1280type:d 0 1 0
     1281
    12831282state:
    12841283id:nutrient
  • experiments/frams/foraminifera/data/scripts/foraminifera.inc

    r1099 r1100  
    5151
    5252                var dict = {"Time": Simulator.stepNumber, "FromIDs": mode->parentsuids, "ID": new_id, "Inherited": inherit, "Operation": oper, "Kind" : mode->gen};
    53                 if (ExpProperties.print_output == 1)
     53                if (ExpProperties.print_evol_progress == 1)
    5454                        Simulator.print("[OFFSPRING] " + String.serialize(dict));
    5555        }
     
    285285function print_repro_info(cr)
    286286{
    287         if (ExpProperties.print_output == 1)
     287        if (ExpProperties.print_evol_progress == 1)
    288288                Simulator.print("Reproduced " + cr.data->lifeparams->gen + " of species " + cr.data->lifeparams->species + " energy: " + cr.energy);
    289289}
Note: See TracChangeset for help on using the changeset viewer.