Move viral collections onto DataCache's download/build split
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Read viral_panel.py, net.py, and the VersionedDatasetRegistry implementation to understand the existing build and download flows. Trace how data fetch gdc-viruses handles options and registered artifacts. Done means it uses a pinned artifact when available, builds otherwise, routes content-changing options to the build path, and meets the stated request handling and user-agent requirements.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Catalogues and datasets are either a published, checksummed artifact downloaded through DataCache, or a local build from pinned sources. The gdc-viruses collection uses a separate stack:
- live NCBI EFetch and PaVE requests through
net.py(urllib with its own retries); - its own
SHA256SUMS, staging and verification inviral_panel.py.
Every install depends on NCBI and PaVE being reachable and within their rate limits. net.py ignores Retry-After and has no NCBI_API_KEY support, and its user agent is hard-coded as orfdata/viral.
Proposal: publish the built collection as a release artifact where the record sources' terms allow, and install it through VersionedDatasetRegistry. Keep the live fetch as the build route with the existing ledgers and checksums. This would give viral collections the same list/info/fetch/path semantics, repair policy and resume behavior as every other resource, as the no-sidecars rule asks.
Acceptance: data fetch gdc-viruses downloads a pinned artifact when one is registered and builds otherwise. Options that change the content (--inventory-molecules, --no-annotation-fill, --alternate-annotations) select the build route. net.py honours Retry-After, and the request user agent no longer names the viral module.
#158 fixes the non-atomic replacement on its own; this issue removes the separate stack.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 10 h 11 min
- PR fusionados (30 d)
- 51
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openvax/orfdata
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
openvax/orfdata#194 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de openvax/orfdata
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pearu/agent-sandbox#451 ·
Los mantenedores suelen responder en 1 día
-
run_gate loads a custom tasks file from outside the working directoryPosiblemente ocupada @Ru0k3 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MakazhanAlpamys/Soup#3189 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
review developer setup docAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NYCPlanning/data-engineering#2996 ·
Los mantenedores suelen responder en 1 día