Skip to content

Commit 5a144c2

Browse files
authored
Merge pull request #1127 from VisLab/logging_added
Added a release guide
2 parents 6c993d6 + b209736 commit 5a144c2

3 files changed

Lines changed: 548 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
Release 0.7.0 October 2, 2025
2+
- Added comprehensive logging infrastructure with configurable log levels and file output to validation tools.
3+
- Enhanced validate_bids script with improved error reporting and filtering capabilities.
4+
- Added error code counting and filtering by count/file in ErrorHandler.
5+
- Improved validation output formatting with version tracking in JSON output.
6+
- Added comprehensive CONTRIBUTING.md with development guidelines and best practices.
7+
- Enhanced README.md with better documentation structure and examples.
8+
- Improved user guide documentation with clearer installation and usage instructions.
9+
- Fixed typos and improved code documentation throughout the codebase.
10+
- Enhanced Windows compatibility with normalized path handling in tests.
11+
- Updated pyproject.toml with improved metadata and dependencies.
12+
13+
Release 0.6.0 August 7, 2024
14+
- Added MATLAB integration support with improved function visibility in __init__.py.
15+
- Enhanced ontology creation and validation with better handling of equivalent classes.
16+
- Improved schema scripts with migration from hed-schemas repository.
17+
- Added DataFrame loading/saving optimizations and folder-based operations.
18+
- Enhanced HED ID validation with more robust checks.
19+
- Improved sidecar and tabular input utilities with new helper functions.
20+
- Added support for empty tabular files and whitespace-only files.
21+
- Enhanced annotation utilities for better MATLAB compatibility.
22+
- Improved matplotlib compatibility and updated color map access.
23+
- Fixed various bugs in spreadsheet handling and schema loading.
24+
- Updated dependencies and improved Python 3.7+ compatibility.
25+
- Improved code quality with better type handling and error messages.
26+
127
Release 0.5.0
228
- Added JSON schema specification of remodeling commands.
329
- Added support for schema that are specified by .tsv files.

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,18 @@ We use several tools to maintain code quality:
9393

9494
Example docstring:
9595
```python
96-
def validate_hed_string(hed_string, schema):
96+
def validate_hed_string(hed_string, schema)->list[dict]:
9797
"""Validate a HED string against a schema.
9898
99-
Args:
99+
Parameters:
100100
hed_string (str): The HED string to validate.
101101
schema (HedSchema): The schema to validate against.
102102
103103
Returns:
104104
list: A list of validation issues, empty if valid.
105105
106106
Example:
107-
>>> schema = load_schema()
107+
>>> schema = load_schema_version('8.4.0')
108108
>>> issues = validate_hed_string("Event", schema)
109109
>>> if not issues:
110110
... print("Valid!")
@@ -135,16 +135,16 @@ from hed import HedString, load_schema
135135
class TestHedValidation(unittest.TestCase):
136136
@classmethod
137137
def setUpClass(cls):
138-
cls.schema = load_schema()
138+
cls.schema = load_schema_version('8.4.0')
139139

140140
def test_valid_hed_string(self):
141141
hed_string = HedString("Event", self.schema)
142-
issues = hed_string.validate(self.schema)
142+
issues = hed_string.validate()
143143
self.assertEqual(len(issues), 0)
144144

145145
def test_invalid_hed_string(self):
146146
hed_string = HedString("InvalidTag", self.schema)
147-
issues = hed_string.validate(self.schema)
147+
issues = hed_string.validate()
148148
self.assertGreater(len(issues), 0)
149149

150150
if __name__ == '__main__':

0 commit comments

Comments
 (0)