diff --git a/.github/workflows/validator_pypi_rocrate.yml b/.github/workflows/validator_pypi_rocrate.yml index 4bc2005..b1665f5 100644 --- a/.github/workflows/validator_pypi_rocrate.yml +++ b/.github/workflows/validator_pypi_rocrate.yml @@ -34,7 +34,7 @@ jobs: if not name.endswith('.eln'): continue fileName = os.path.join(root, name) - print(f'Try to parse: {fileName}') + print(f'\n\nTry to parse: {fileName}') with ZipFile(fileName, 'r', compression=ZIP_DEFLATED) as elnFile: p = ZPath(elnFile) dirName = sorted(p.iterdir())[0] @@ -43,9 +43,8 @@ jobs: elnFile.extractall(dirpath) temppath= dirpath.joinpath(dirName.name) crate = ROCrate(temppath) - print('\nList content') for e in crate.get_entities(): - print(e.id, e.type) + print(f' {e.id}: {e.type}') except ValueError: print("**ERROR: Could not parse content\n"+traceback.format_exc()+'\n\n') shell: python