Skip to content

Commit 4bc7d37

Browse files
committed
Update dependencies and fix error logging
Added 'tabulate' and pinned 'jsonschema2md' version in setup.py to fix CI errors.
1 parent adbfc61 commit 4bc7d37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def update_relative_links(readme_content):
4141
package_dir={'': 'src'},
4242
packages=["dosdp", "schema", "dosdp.document", "dosdp.document.pattern", "dosdp.document.schema"],
4343
include_package_data=True,
44-
install_requires=["PyYAML", "jsonschema", "requests", "jsonpath_rw", "ruamel.yaml", "jsonschema2md", "pandas"],
44+
install_requires=["PyYAML", "jsonschema", "requests", "jsonpath_rw", "ruamel.yaml", "jsonschema2md>=0.4,<0.5", "pandas", "tabulate"],
4545
entry_points={
4646
"console_scripts": [
4747
"dosdp=dosdp.__main__:main",

src/dosdp/document/pattern/patterns_create_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def generate_pattern_documentation(pattern_file, md_file_path, sample_data_dir=N
136136
else:
137137
print("No matches!")
138138
except Exception as e:
139-
logging.error("Error processing the tsv file!", e)
139+
logging.error("Error processing the tsv file! %s", e)
140140
else:
141141
logging.warning("Data dir: '" + os.path.join(str(sample_data_dir),
142142
sample_file) + "' does not exist to provide sample data!")

0 commit comments

Comments
 (0)