Revision 719a36971fdce8752d78363c32aaaf0604253ca5 authored by Daniel Himmelstein on 04 January 2019, 21:26:21 UTC, committed by GitHub on 04 January 2019, 21:26:21 UTC
Merges https://github.com/greenelab/manubot/pull/91

Previously, the following metadata.yaml would cause the following exception:

```yaml
title: "Title"
lang: en-US
author_info:
```

```python-traceback
  File "manubot/process/util.py", line 199, in get_metadata_and_variables
    metadata['author-meta'] = [author['name'] for author in authors]
TypeError: 'NoneType' object is not iterable
```

Instead, we should treat null authors field as an empty array/list.
1 parent 552dd99
History
File Mode Size
manubot
media
release-notes
.appveyor.yml -rw-r--r-- 640 bytes
.gitignore -rw-r--r-- 217 bytes
.travis.yml -rw-r--r-- 1.1 KB
LICENSE.md -rw-r--r-- 1.5 KB
MANIFEST.in -rw-r--r-- 27 bytes
README.md -rw-r--r-- 8.9 KB
setup.py -rw-r--r-- 2.0 KB

README.md

back to top