get_all_indices does not do what it says it does

Aperta
#734 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Read src/graphnet/data/dataset/parquet/parquet_dataset.py around line 192 and check how get_all_indices handles a folder of parquet files. The report says it returns the number of files; determine the intended indices from the surrounding dataset code and confirm the expected behavior with relevant tests. Done means the function returns the intended indices and the tests cover the reported case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

https://github.com/graphnet-team/graphnet/blob/652f1948ed5c8c5a380105c5b5461a09c1e56d6a/src/graphnet/data/dataset/parquet/parquet_dataset.py#L192

I believe that this function is not intended to do this as this just returns the number of parquet files in a folder

Lingua principale
Python
Stelle
117
Fork
115
Merge medio
2g 21h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graphnet-team/graphnet

Tutte le issue di graphnet-team/graphnet

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.