DiamondLightSource / DiamondLightSource/python-icebreaker

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

オープン
#13 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。