acl-org / acl-org/acl-anthology

Changes to events are not being saved to XML on save_all()

Abierto
#9,815 9 comentarios 0 reacciones 1 asignado Reclamado por @mbollmann Ver en GitHub
bug python-library
Lenguaje dominante
Python
Estrellas
796
Forks
408
Merge medio
3 d 13 h
PR fusionados (30 d)
34

Descripción

```py
for vol in anthology.volumes():
if vol.year in ('2018','2019') and "workshop" in str(vol.title).lower() and "student research workshop" not in str(vol.title).lower():
venues = vol.venues()
venue_ids = list(vol.venue_ids)
for v in venues:
if v.type!="workshop":
event = anthology.get_event(f'{v.acronym.lower()}-{vol.year}')
event.add_colocated(vol)
venue_ids.remove(v.id)
vol.venue_ids = tuple(venue_ids)
anthology.save_all()
```

Result: The venue tags are removed but colocated volume info is not added in the XML.

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.