DiamondLightSource / DiamondLightSource/python-icebreaker

mistake in python-icebreaker/src/icebreaker/cli/ib_group.py

未关闭
#13 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
11
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

There seems to be a mistake in ib_group.py.

In main(), the group_star variable is made from prepending the project_dir path to the in_mics input flag value.

`group_star = os.path.join(project_dir, args.in_mics)`

However, when this variable is used in the call to ib_igroups.main(), it is again prepended to the project_dir path:

`ib_igroups.main(
os.path.join(project_dir, parts_star), os.path.join(project_dir, group_star)
)`

This would result in the second argument to ib_igroups.main() being //

Code seems to work if I change from:

`group_star = os.path.join(project_dir, args.in_mics)`

to

`group_star = args.in_mics`

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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