AllenNeuralDynamics / AllenNeuralDynamics/ficus

Add functionality to add "peripherals" to config files

未关闭
#25 0 条评论 0 个 reaction 已指派 1 人 已被 @jessy-liao 认领 在 GitHub 查看
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

There is a separate location in zookeeper for peripheral files. These files are treated like variables to be injected into an existing file.

Example

```
defaults/
└── open_ephys/
└── config.yml
computers/
└── ...
peripherals
└── treadmill123.yml
```

``config.yml`` gets read like a jinja template. If it contains ``{{treadmill123.yml}}``, the file will look in peripheral for this partial config file and fill it in to the template.

Implementation notes:

- peripheral file names need to be unique (no duplicates)
- need to be able to validate with peripherals (replace jinja variables first)
- determine behavior for if peripheral is missing (return without it? throw an error?) probably the latter

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。