DiamondLightSource / DiamondLightSource/python-icebreaker

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

Abierto
#13 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
11
Forks
6
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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`

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.