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
4 changes: 2 additions & 2 deletions RELEASE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Add a new entry at the top of `CHANGELOG.md` with:
- Documentation improvements
- Breaking changes (if any)

\*\*Recommend asking coPilot to produce a draft change log reflecting changes between the last release and the current commit on the main branch.
**Recommend asking coPilot to produce a draft change log reflecting changes between the last release and the current commit on the main branch.**

**Example:**

Expand Down Expand Up @@ -213,7 +213,7 @@ Zenodo automatically creates a DOI and archives the release when a GitHub releas

**Wait a few minutes** after creating the GitHub release for Zenodo to process it.

1. Go to: https://zenodo.org/records/17866854 (or the latest Zenodo record for hed-python)
1. Go to: https://zenodo.org/records/8056010 (or the latest Zenodo record for hed-python)
2. Verify that a new version appears for your release
3. Check that the DOI is generated
4. Confirm the metadata is correct (title, authors, description)
Expand Down
1 change: 0 additions & 1 deletion hed/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
from .remodeling.operations.summarize_column_values_op import SummarizeColumnValuesOp
from .remodeling.operations.summarize_hed_type_op import SummarizeHedTypeOp

from .util.hed_logger import HedLogger
from .util.data_util import get_new_dataframe, get_value_dict, replace_values, reorder_columns
from .util.io_util import check_filename, clean_filename, extract_suffix_path, get_file_list, make_path
from .util.io_util import get_path_components
Expand Down
8 changes: 1 addition & 7 deletions hed/tools/analysis/file_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,28 +105,22 @@ def key_diffs(self, other_dict):
diffs = set(self._file_dict.keys()).symmetric_difference(set(other_dict.file_dict.keys()))
return list(diffs)

def output_files(self, title=None, logger=None):
def output_files(self, title=None):
"""Return a string with the output of the list.

Parameters:
title (None, str): Optional title.
logger (HedLogger): Optional HED logger for recording.

Returns:
str: The dictionary in string form.

Notes:
- The logger is updated if available.

"""
output_list = []
if title:
output_list.append(f"{title} ({len(self.key_list)} files)")
for key, _value in self._file_dict.items():
basename = os.path.basename(self.get_file_path(key))
output_list.append(f"{key}: {basename}")
if logger:
logger.add(key, f"{self.name}: {basename}")
return "\n".join(output_list)

@staticmethod
Expand Down
76 changes: 0 additions & 76 deletions hed/tools/util/hed_logger.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
{
"error_code": "SCHEMA_LOAD_FAILED",
"name": "incompatible-merge-schemas ",
"name": "incompatible-merge-schemas",
"description": "Schemas in a merge group must be associated with the same standard schema].",
"schema": [
"score_2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
{
"error_code": "TAG_INVALID",
"alt_codes": [],
"name": "tag-has-extra-white space",
"name": "tag-has-extra-whitespace",
"description": "A HED tag has extra internal whitespace, including directly before or after slashes.",
"warning": false,
"schema": "8.4.0",
Expand Down
59 changes: 0 additions & 59 deletions tests/tools/util/test_hed_logger.py

This file was deleted.

Loading