Possibility of toggling IceCube dependency warning

Abierto
#831 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
backend

Línea de trabajo

Start by locating has_icecube_package, which emits the warning during imports, and trace where GraphNeT checks experiment-specific dependencies. The issue suggests warning only when a feature needs a missing dependency; identify the relevant import and dependency checks, then confirm importing unrelated GraphNeT utilities no longer emits this warning while IceCube-dependent functionality still reports a missing package.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature

When importing any graphnet class, funcion or utility, the following warning message is triggered:

graphnet [MainProcess] WARNING  2025-09-16 11:04:06 - has_icecube_package - `icecube` not available. Some functionality may be missing. 

Despite not being a real issue in terms of making GraphNeT work, if more experiments are added to GraphNeT, I think that these warnings should popped out only when trying to use dependencies belonging to each experiment and are not installed in the environment where GraphNeT is.

As previously said, not a real issue, just a suggestion.

Lenguaje dominante
Python
Estrellas
117
Forks
115
Merge medio
2 d 21 h
PR fusionados (30 d)
1

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de graphnet-team/graphnet

Todos los issues de graphnet-team/graphnet

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.