Skip to content
Snippets Groups Projects

add `inbreeding list`

Merged STEVAN Antoine requested to merge inbreeding-list into main
3 files
+ 19
14
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 16
0
use consts.nu
use path.nu [ "remove-cache-prefix" ]
# return experiment names following `$ARG_EXPERIMENT_FORMAT`
export def main []: nothing -> list<string> {
$consts.CACHE
| path join '*' '*'
| into glob
| ls $in
| get name
| each { remove-cache-prefix }
| parse --regex $consts.FULL_EXPERIMENT_FORMAT
| reject strategy
| each { values | str join '-' }
| uniq
}
Loading