diff --git a/src/ro_crate.py b/src/ro_crate.py index 22c117923dcc9dd79caba53aaf0287f67644f72d..098a437ce1e91c1a009c5247022306315292bf23 100644 --- a/src/ro_crate.py +++ b/src/ro_crate.py @@ -45,7 +45,10 @@ class RO_Crate: authors = self.workflow.get_authors() tab_authors = [] for author in authors: - tab_authors.append({"@id":author["@id"], "email":author["email"]}) + try: + tab_authors.append({"@id":author["@id"], "email":author["email"]}) + except: + tab_authors.append({"@id":author["@id"]}) root["author"] = tab_authors root["maintainer"] = tab_authors #Right now i'm assuming that all the authors are maintainers files = self.get_files()