Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ docs/_build
# Add Hatch
.hatch/
.venv/

# Hatch-vcs
_version.py
16 changes: 0 additions & 16 deletions hdmf_docutils/_version.py

This file was deleted.

4 changes: 2 additions & 2 deletions hdmf_docutils/doctools/rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ def spec_to_yaml(spec):

# Convert to plain dict first
clean_spec = json.loads(json.dumps(spec, indent=4, separators=(',', ': ')))

# Sort keys using YAMLSpecWriter's sort_keys method
hdmf_yaml_writer = YAMLSpecWriter()
sorted_spec = hdmf_yaml_writer.sort_keys(clean_spec)
sorted_spec = YAMLSpecWriter.sort_keys(clean_spec)

yaml = YAML(pure=True)
yaml.default_flow_style = False
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ keywords = [
dependencies = [
"matplotlib",
"networkx",
"hdmf",
"hdmf>=4.1.0",
"pillow",
"sphinx",
"sphinx-gallery",
Expand Down