Skip to content
Snippets Groups Projects
Verified Commit 28a600e6 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

fix signatures of `inbreeding`'s `load` and `plot`

parent 4735b0fd
No related branches found
No related tags found
1 merge request!119include the standard deviation of "inbreeding" measurements
Pipeline #5277 passed
This commit is part of merge request !119. Comments created here will be created in the context of that merge request.
......@@ -13,7 +13,7 @@ def get-experiments []: nothing -> list<string> {
export def main [
experiment: string@get-experiments, # something of the form '<seed>-<env>'
]: nothing -> table<strategy: string, diversity: table<x: int, y: float>> {
]: nothing -> table<strategy: string, diversity: table<x: int, y: float, e: float>> {
let exp = $experiment | parse "{seed}-{env}" | into record
if $exp == {} {
error throw {
......
......@@ -43,7 +43,7 @@ def get-color []: int -> string {
export def main [
--save: path,
--options: record<k: int>
]: table<strategy: string, diversity: table<x: int, y: float>> -> nothing {
]: table<strategy: string, diversity: table<x: int, y: float, e: float>> -> nothing {
let data = $in
let l = $data.diversity.0 | length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment