@@ -26,7 +26,7 @@ For simple validation or transformation tasks, use the online tools at [https://
2626
2727Browser-based validation (no data upload) is available at [ https://www.hedtags.org/hed-javascript ] ( https://www.hedtags.org/hed-javascript )
2828
29- A development version is available at: [ https://hedtools.org/hed_dev ] ( https://hedtools.org/hed_dev )
29+ A development version of the online tools is available at: [ https://hedtools.org/hed_dev ] ( https://hedtools.org/hed_dev )
3030
3131### Python installation
3232
@@ -49,12 +49,13 @@ pip install git+https://github.com/hed-standard/hed-python/@main
4949``` python
5050from hed import HedString, load_schema_version
5151
52+
5253# Load the latest HED schema
5354schema = load_schema_version(" 8.4.0" )
5455
5556# Create and validate a HED string
56- hed_string = HedString(" Sensory-event, Visual-presentation, (Onset, (Red, Square))" )
57- issues = hed_string.validate(schema )
57+ hed_string = HedString(" Sensory-event, Visual-presentation, (Onset, (Red, Square))" , schema )
58+ issues = hed_string.validate()
5859
5960if issues:
6061 print (get_printable_issue_string(issues, title = " Validation issues found" ))
@@ -128,9 +129,9 @@ See [`examples/README.md`](examples/README.md) for more details.
128129
129130📖 ** Full Documentation:** [ https://www.hedtags.org/hed-python ] ( https://www.hedtags.org/hed-python )
130131
131- - [ User Guide ] ( https://www.hedtags.org/hed-python/user_guide.html ) - Usage instructions
132- - [ API Reference ] ( https://www.hedtags.org/hed-python/api/index.html ) - Detailed API documentation
133- - [ HED Specification ] ( https://www.hedtags.org/hed-specification ) - Full HED standard specification
132+ - [ User guide ] ( https://www.hedtags.org/hed-python/user_guide.html ) - Usage instructions
133+ - [ API reference ] ( https://www.hedtags.org/hed-python/api/index.html ) - Detailed API documentation
134+ - [ HED specification ] ( https://www.hedtags.org/hed-specification ) - Full HED standard specification
134135
135136### Building docs locally
136137
@@ -179,28 +180,28 @@ black --workers 1 .
179180
180181** Exclusions:** Black automatically excludes ` .venv/ ` , ` __pycache__/ ` , auto-generated files (` hed/_version.py ` ), and external repos (` spec_tests/hed-examples/ ` , ` spec_tests/hed-specification/ ` ).
181182
182- ** CI Integration :** All code is automatically checked for Black formatting in GitHub Actions. Run ` black . ` before committing to ensure your code passes CI checks.
183+ ** CI integration :** All code is automatically checked for Black formatting in GitHub Actions. Run ` black . ` before committing to ensure your code passes CI checks.
183184
184- ## Related Repositories
185+ ## Related repositories
185186
186187The HED ecosystem consists of several interconnected repositories:
187188
188- | Repository | Description |
189- | ---------------------------------------------------------------------- | ------------------------------------------------- |
190- | [ hed-python] ( https://github.com/hed-standard/hed-python ) | Python validation and analysis tools (this repo) |
191- | [ hed-web] ( https://github.com/hed-standard/hed-web ) | Web interface and deployable Docker services |
192- | [ hed-resources] ( https://github.com/hed-standard/hed-resources ) | Example code in Python and MATLAB + HED resources |
193- | [ hed-specification] ( https://github.com/hed-standard/hed-specification ) | Official HED specification documents |
194- | [ hed-schemas] ( https://github.com/hed-standard/hed-schemas ) | Official HED schema repository |
195- | [ ndx-hed] ( https://github.com/hed-standard/ndx-hed ) | HED support for NWB |
196- | [ hed-javascript] ( https://github.com/hed-standard/hed-javascript ) | JavaScript HED validation tools |
189+ | Repository | Description |
190+ | ---------------------------------------------------------------------- | ------------------------------------------------ |
191+ | [ hed-python] ( https://github.com/hed-standard/hed-python ) | Python validation and analysis tools (this repo) |
192+ | [ hed-web] ( https://github.com/hed-standard/hed-web ) | Web interface and deployable Docker services |
193+ | [ hed-resources] ( https://github.com/hed-standard/hed-resources ) | Tutorials and other HED resources |
194+ | [ hed-specification] ( https://github.com/hed-standard/hed-specification ) | Official HED specification documents |
195+ | [ hed-schemas] ( https://github.com/hed-standard/hed-schemas ) | Official HED schema repository |
196+ | [ ndx-hed] ( https://github.com/hed-standard/ndx-hed ) | HED support for NWB |
197+ | [ hed-javascript] ( https://github.com/hed-standard/hed-javascript ) | JavaScript HED validation tools |
197198
198199## Contributing
199200
200201We welcome contributions! Here's how you can help:
201202
2022031 . ** Report issues:** Use [ GitHub Issues] ( https://github.com/hed-standard/hed-python/issues ) for bug reports and feature requests
203- 2 . ** Submit pull requests (PRs):** PRs should target the ` main ` branch
204+ 2 . ** Submit pull requests (PRs):** PRs should be from a non-main fork and target the ` main ` branch
2042053 . ** Improve documentation:** Help us make HED easier to use
2052064 . ** Share examples:** Contribute example code and use cases
206207
@@ -229,7 +230,7 @@ python -m unittest tests/path/to/test_file.py
229230python -m unittest tests.test_notebooks
230231```
231232
232- For detailed contribution guidelines, please see [ CONTRIBUTING.md] ( CONTRIBUTING.md ) (coming soon) .
233+ For detailed contribution guidelines, please see [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
233234
234235## Configuration
235236
@@ -267,6 +268,6 @@ HEDTools is licensed under the MIT License. See [LICENSE](LICENSE) for details.
267268## Support
268269
269270- [ Documentation] ( https://www.hedtags.org/hed-python )
270- - [ GitHub Issues ] ( https://github.com/hed-standard/hed-python/issues )
271+ - [ GitHub issues ] ( https://github.com/hed-standard/hed-python/issues )
271272- [ HED Homepage] ( https://www.hedtags.org )
272- - Contact: hed-maintainers@gmail.com
273+ - Contact: [ hed-maintainers@gmail.com ] ( mailto:hed-maintainers@gmail.com )
0 commit comments