Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test pull to master, will be deleted later. #19

Closed
wants to merge 436 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
436 commits
Select commit Hold shift + click to select a range
7342e5b
Update/improve deprecatedFrom support
IanCa Feb 23, 2024
43ec7fa
Merge pull request #869 from IanCa/develop
VisLab Feb 24, 2024
d0e8717
Added EventManager raises exception when onsets unordered
VisLab Feb 25, 2024
0759e41
Incorporated font path into remodeling ops
VisLab Feb 25, 2024
4281249
Merge pull request #870 from VisLab/develop
VisLab Feb 25, 2024
a31a6b0
Bump spec_tests/hed-specification from `9a22f15` to `cd2428e`
dependabot[bot] Feb 26, 2024
9910f1b
Merge pull request #872 from hed-standard/dependabot/submodules/devel…
VisLab Feb 26, 2024
5e3516e
Removed set_path parameter from word cloud creation
VisLab Feb 26, 2024
68e9606
Merge pull request #873 from VisLab/develop
VisLab Feb 26, 2024
5010a11
Updated for mixed case extensions
VisLab Feb 26, 2024
59a0e9f
Merge pull request #874 from VisLab/develop
VisLab Feb 26, 2024
9b4110a
Only flag spaces in units if they aren't deprecated
IanCa Feb 26, 2024
dac5220
Merge pull request #875 from IanCa/develop
VisLab Feb 26, 2024
3fb34a2
Bump spec_tests/hed-examples from `64c7c94` to `0206613`
dependabot[bot] Feb 27, 2024
869458e
Merge pull request #876 from hed-standard/dependabot/submodules/devel…
VisLab Feb 27, 2024
bbe7cce
Update deprecatedFrom validation and tests
IanCa Feb 29, 2024
47b06a6
Merge pull request #877 from IanCa/dev_deprecated
VisLab Feb 29, 2024
3af84d4
Bump spec_tests/hed-specification from `cd2428e` to `0a5e8b5`
dependabot[bot] Mar 1, 2024
0b23b2a
Merge pull request #878 from hed-standard/dependabot/submodules/devel…
VisLab Mar 1, 2024
a03e803
Add support for Duration tag, and validation support for Delay
IanCa Mar 5, 2024
cbfd00a
Rename Onset error to TEMPORAL_TAG_ERROR
IanCa Mar 5, 2024
50a6df1
Merge pull request #879 from IanCa/develop
VisLab Mar 5, 2024
a7fd57e
Update sidecar validation to check fully combined hed strings
IanCa Mar 6, 2024
55490f2
Fix unrelated test
IanCa Mar 7, 2024
173bba0
Bump spec_tests/hed-specification from `0a5e8b5` to `595701b`
dependabot[bot] Mar 7, 2024
f000099
Merge pull request #880 from IanCa/develop
VisLab Mar 7, 2024
b982688
Merge pull request #881 from hed-standard/dependabot/submodules/devel…
VisLab Mar 7, 2024
9048ae5
Lazy load definition entries when creating tags(tests run ~25 faster …
IanCa Mar 8, 2024
e1139cc
Bump spec_tests/hed-specification from `595701b` to `9a3ed49`
dependabot[bot] Mar 8, 2024
fd20109
Merge pull request #882 from IanCa/develop
VisLab Mar 8, 2024
6c9b45a
Merge pull request #883 from hed-standard/dependabot/submodules/devel…
VisLab Mar 8, 2024
0568209
Allow mixed case in non unitsymbol units
IanCa Mar 9, 2024
7286dd6
Merge pull request #884 from IanCa/develop
VisLab Mar 11, 2024
d4bea7c
Add validation/function to Delay and Duration tags.
IanCa Mar 19, 2024
601383a
Merge pull request #885 from IanCa/develop
VisLab Mar 19, 2024
c3a26c9
Bump spec_tests/hed-specification from `9a3ed49` to `3ad49f9`
dependabot[bot] Mar 19, 2024
7246f32
Minor cleanup/documentation cleanup of schema and models
IanCa Mar 20, 2024
9178dbe
Merge pull request #886 from hed-standard/dependabot/submodules/devel…
VisLab Mar 20, 2024
5ff33c8
Bump spec_tests/hed-specification from `3ad49f9` to `111b0ad`
dependabot[bot] Mar 20, 2024
f6fbfb5
Update schema_attribute_validators.py
IanCa Mar 20, 2024
a74eb54
Add doc strings back
IanCa Mar 20, 2024
c93eb00
Comment out owl related code pending new version
IanCa Mar 20, 2024
05e80c0
Merge pull request #887 from IanCa/develop
VisLab Mar 21, 2024
71ba0cc
Merge pull request #888 from hed-standard/dependabot/submodules/devel…
VisLab Mar 21, 2024
166a1a3
Minor updates to documentation
VisLab Mar 23, 2024
d74696b
Added description fields to JSON schema for remodeler
VisLab Mar 25, 2024
86172d9
Merge pull request #889 from VisLab/develop
VisLab Mar 25, 2024
bf0020e
Bump spec_tests/hed-specification from `111b0ad` to `0289e6d`
dependabot[bot] Mar 25, 2024
6565a34
Fix check if that should be top level when writing
IanCa Mar 25, 2024
b8a6a62
Merge pull request #890 from hed-standard/dependabot/submodules/devel…
VisLab Mar 25, 2024
757d570
Merge pull request #891 from hed-standard/dev_fix_wiki_write
VisLab Mar 25, 2024
1dfa011
Fix source_format when using a mix of xml/mediawiki sources
IanCa Mar 26, 2024
0efe5b4
Merge pull request #892 from hed-standard/dev_fix_source_format
VisLab Mar 27, 2024
4c0f327
Update spec tests output
IanCa Mar 27, 2024
9e4b99a
Merge pull request #893 from IanCa/dev_update_output2
VisLab Mar 28, 2024
efad7dc
Bump spec_tests/hed-specification from `0289e6d` to `8e796da`
dependabot[bot] Mar 28, 2024
a8c48e6
Merge pull request #894 from hed-standard/dependabot/submodules/devel…
VisLab Mar 28, 2024
5c22158
Bump spec_tests/hed-specification from `8e796da` to `afa4a8b`
dependabot[bot] Mar 29, 2024
e7d8701
Merge pull request #895 from hed-standard/dependabot/submodules/devel…
VisLab Mar 29, 2024
8604bef
Improve schema character validation to match the new spec/utf8 support
IanCa Mar 29, 2024
f198b6b
Switch to .casefold in most places
IanCa Mar 30, 2024
cfa831c
Merge pull request #896 from IanCa/develop
VisLab Mar 30, 2024
b76c65e
Bump spec_tests/hed-specification from `afa4a8b` to `1ebd8eb`
dependabot[bot] Apr 1, 2024
501925d
Merge pull request #897 from hed-standard/dependabot/submodules/devel…
VisLab Apr 1, 2024
71b5623
Bump spec_tests/hed-specification from `1ebd8eb` to `a659865`
dependabot[bot] Apr 3, 2024
a7ccd3a
Implement validation with new 83 schema properties/rules
IanCa Apr 4, 2024
9bf38b8
fix typos
IanCa Apr 4, 2024
1329ebc
Move schema_83_props to baseclass
IanCa Apr 4, 2024
8a4b955
Merge pull request #899 from hed-standard/dependabot/submodules/devel…
VisLab Apr 4, 2024
3eaaff5
Merge pull request #900 from IanCa/develop
VisLab Apr 4, 2024
dff36c6
Add support for caching prerelease schemas. Generates a warning on v…
IanCa Apr 4, 2024
12750cf
Merge pull request #901 from IanCa/develop
VisLab Apr 5, 2024
7c1b456
Bump spec_tests/hed-specification from `a659865` to `3c034a4`
dependabot[bot] Apr 12, 2024
205a0f9
Merge pull request #903 from hed-standard/dependabot/submodules/devel…
VisLab Apr 14, 2024
f57cce9
Bump spec_tests/hed-specification from `3c034a4` to `208fe68`
dependabot[bot] Apr 15, 2024
ef93447
Merge pull request #904 from hed-standard/dependabot/submodules/devel…
VisLab Apr 15, 2024
a733b31
Bump spec_tests/hed-specification from `208fe68` to `9044516`
dependabot[bot] Apr 16, 2024
151266e
Initial commit of saving/loading .tsv.
IanCa Apr 18, 2024
f9fcc80
Merge pull request #905 from hed-standard/dependabot/submodules/devel…
VisLab Apr 18, 2024
cec8527
Merge pull request #906 from IanCa/develop
VisLab Apr 18, 2024
5c2066b
Fix spec tests/minor error tweaks for tests
IanCa Apr 18, 2024
d63872c
Merge pull request #907 from IanCa/develop
VisLab Apr 18, 2024
99fb8bf
Corrected argument on summarize column values
VisLab Apr 18, 2024
095a713
Merge pull request #908 from VisLab/develop
VisLab Apr 18, 2024
cdf0766
Bump spec_tests/hed-specification from `2976edd` to `32b3eb2`
dependabot[bot] Apr 19, 2024
c0e4532
Merge pull request #909 from hed-standard/dependabot/submodules/devel…
VisLab Apr 19, 2024
f8efcee
Added a strs_to_sidecar
VisLab Apr 21, 2024
cb0a104
Bump spec_tests/hed-specification from `32b3eb2` to `6182ab9`
dependabot[bot] Apr 22, 2024
ebf650e
Updated sidecars
VisLab Apr 22, 2024
f6a388f
Merge pull request #911 from VisLab/develop
VisLab Apr 22, 2024
7437024
Move cache test to spec_tests
IanCa Apr 22, 2024
07bd207
Merge pull request #912 from IanCa/develop
VisLab Apr 22, 2024
f260b83
Merge pull request #910 from hed-standard/dependabot/submodules/devel…
VisLab Apr 22, 2024
f00f6bd
Added utilities for accessing sidecars and tabular input
VisLab Apr 23, 2024
3d30f8e
Merge pull request #913 from VisLab/develop
VisLab Apr 23, 2024
8daebfa
Added a get_sidecar to TabularInput
VisLab Apr 24, 2024
94671fe
Added a str_list to annotation utilities to handle None for MATLAB
VisLab Apr 25, 2024
100fa96
Updated the strlist renamed to_strlist
VisLab Apr 25, 2024
ef9c006
Merge pull request #914 from VisLab/develop
VisLab Apr 25, 2024
1908087
Changed the behavior of None in to_strlist
VisLab Apr 25, 2024
43e344f
Merge pull request #915 from VisLab/develop
VisLab Apr 25, 2024
144de72
Updated cached testlib and added helper to convert to factor list
VisLab Apr 27, 2024
9c0b3d3
Updated the to_factor helper to also handle DataFrame
VisLab Apr 27, 2024
1c5e6f7
Remove tabs in wiki format
IanCa Apr 27, 2024
3c09e1b
Bump paambaati/codeclimate-action from 5.0.0 to 6.0.0
dependabot[bot] Apr 29, 2024
b5389fc
Bump spec_tests/hed-specification from `6182ab9` to `2b727a8`
dependabot[bot] Apr 29, 2024
ba22418
Merge pull request #916 from hed-standard/IanCa-patch-1
VisLab Apr 30, 2024
623ed17
Merge pull request #917 from hed-standard/dependabot/github_actions/d…
VisLab Apr 30, 2024
1bf129a
Second pass dataframe/omn schema handling
IanCa May 7, 2024
0eaa723
Fix typos
IanCa May 7, 2024
d3191ac
slightly improve ontology test
IanCa May 7, 2024
ba258f3
Merge pull request #918 from hed-standard/dependabot/submodules/devel…
VisLab May 7, 2024
714d6c4
Merge pull request #919 from IanCa/develop
VisLab May 7, 2024
f8ac3c9
Replace removeprefix with 3.7 compatible
IanCa May 7, 2024
d87aa9b
Loosen matplotlib requirement for 3.8
IanCa May 7, 2024
219f729
Merge pull request #920 from IanCa/develop
VisLab May 7, 2024
79b2dc7
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab May 8, 2024
e200406
Bump spec_tests/hed-examples from `0206613` to `db1eb80`
dependabot[bot] May 8, 2024
ce87684
Add more robust hedID validation, minor ontology code tweaks
IanCa May 8, 2024
6bb4d57
Merge pull request #921 from hed-standard/dependabot/submodules/devel…
VisLab May 9, 2024
f2e340a
Merge pull request #922 from IanCa/develop
VisLab May 9, 2024
9ad66ca
Updated the __init__ for visibility in matlab
VisLab May 13, 2024
8f08ebd
Added a get_bids_dataset
VisLab May 13, 2024
5dfa7ab
Updated the main init
VisLab May 13, 2024
39ff3da
Worked on the init to make functions available to MATLAB
VisLab May 13, 2024
159d0a5
Make assigning ID's optional in script
IanCa May 13, 2024
c374130
Merge pull request #923 from IanCa/develop
VisLab May 14, 2024
845a524
Updated the imports
VisLab May 14, 2024
a98db20
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab May 14, 2024
cc813a6
Fixed conflict
VisLab May 14, 2024
67450cc
Imported jsonschema rather than directly imported the validator
VisLab May 14, 2024
cb0fae5
Updated the imports
VisLab May 14, 2024
1a62ba9
Merge pull request #924 from VisLab/develop
VisLab May 14, 2024
7325839
Updated
VisLab May 14, 2024
9877540
Updated imports
VisLab May 14, 2024
d5fef61
Updated return value on strs_sidecar
VisLab May 14, 2024
1d880ed
Updated allowed font extensions
VisLab May 15, 2024
10eae28
Updated annotation_util formating
VisLab May 15, 2024
3194e77
Merge pull request #925 from VisLab/develop
VisLab May 15, 2024
98bd6d7
delete test hed cache
IanCa May 15, 2024
b5deece
update error message per kay
IanCa May 15, 2024
c61c7af
Merge pull request #926 from IanCa/develop
VisLab May 15, 2024
b7ab42f
Update dataframe loading/saving to allow passing a folder name
IanCa May 16, 2024
b768dc9
add tests
IanCa May 16, 2024
40964c2
Access matplotlib color map in a different way
IanCa May 16, 2024
7fb7317
Merge pull request #928 from IanCa/develop
VisLab May 17, 2024
bf952d7
Move schema scripts over to hed-python
IanCa May 20, 2024
b9ffbb6
Add debug print
IanCa May 20, 2024
56524c9
Update print, better handle non lowercase
IanCa May 20, 2024
c02af7f
Fix add_extension for None
IanCa May 20, 2024
d601d8b
Restore add_extension
IanCa May 20, 2024
d80e069
Merge pull request #929 from IanCa/develop
VisLab May 20, 2024
533d8fd
---
dependabot[bot] May 22, 2024
aff55a7
Merge pull request #930 from hed-standard/dependabot/submodules/devel…
VisLab May 23, 2024
317c381
Minor tweaks to spreadsheet script/code
IanCa May 23, 2024
a11d217
Bump spec_tests/hed-examples from `db1eb80` to `a32e00e`
dependabot[bot] May 24, 2024
73ba583
Merge pull request #931 from IanCa/develop
VisLab May 24, 2024
9c201e5
Merge pull request #932 from hed-standard/dependabot/submodules/devel…
VisLab May 24, 2024
3bcc505
Fix for codespell and documentation errors
IanCa May 24, 2024
f38f9d5
Add assertIn to codespell filter
IanCa May 24, 2024
e18aed2
Minor updates
VisLab May 27, 2024
1c9d69e
Ontology fixes
IanCa May 28, 2024
aa3d27d
Merge pull request #934 from IanCa/develop
VisLab May 28, 2024
09350f0
Bump spec_tests/hed-specification from `9a1574e` to `0d8303e`
dependabot[bot] May 30, 2024
1151024
Merge pull request #936 from hed-standard/dependabot/submodules/devel…
VisLab May 31, 2024
0c330bc
Merge branch 'develop' of https://github.com/VisLab/hed-python into d…
VisLab Jun 1, 2024
72447e0
Added a strs_to_hed_objs for matlab
VisLab Jun 2, 2024
a45226d
Fix tests on windows/with new 8.3
IanCa Jun 4, 2024
6ce29e2
First pass create_ontology script
IanCa Jun 4, 2024
d5d5f26
Add debug print
IanCa Jun 4, 2024
193696a
remove debug print
IanCa Jun 4, 2024
0024ff0
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab Jun 5, 2024
4739247
Merge pull request #939 from hed-standard/develop
VisLab Jun 5, 2024
317c0fc
Updated to for codespell
VisLab Jun 5, 2024
b93bee8
Merge pull request #940 from VisLab/develop
VisLab Jun 5, 2024
7f62e71
Merge branch 'master' of https://github.com/hed-standard/hed-python i…
VisLab Jun 5, 2024
499c627
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab Jun 5, 2024
ac3d5f0
Merge pull request #942 from VisLab/develop
VisLab Jun 5, 2024
a6b1df3
Merge pull request #943 from hed-standard/develop
VisLab Jun 5, 2024
8068780
First pass writing out ontology structure file
IanCa Jun 6, 2024
fbbdbcb
Merge pull request #944 from IanCa/develop
VisLab Jun 6, 2024
fe7e3ff
Improve validation of placeholders in schema compliance
IanCa Jun 6, 2024
635b376
Pass schema name correctly
IanCa Jun 7, 2024
2b2b634
Merge pull request #945 from IanCa/develop
VisLab Jun 7, 2024
85a6f9f
Minor changes to change log.
IanCa Jun 8, 2024
f27dbc2
Merge pull request #946 from IanCa/develop
VisLab Jun 8, 2024
e94a9e1
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab Jun 9, 2024
af07f67
Add 8.3.0 to built in schemas
IanCa Jun 10, 2024
d95f25d
Bump spec_tests/hed-examples from `a32e00e` to `ffdcc75`
dependabot[bot] Jun 11, 2024
1bfaf2f
Merge pull request #948 from IanCa/develop
VisLab Jun 11, 2024
fea6a61
Simplify some schema functions/minor refactoring
IanCa Jun 12, 2024
4a6af0c
Merge pull request #950 from IanCa/develop
VisLab Jun 12, 2024
28b20b5
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab Jun 12, 2024
673770e
Replace and/or with &&/|| for searching
IanCa Jun 12, 2024
ee75b02
Merge pull request #951 from IanCa/develop
VisLab Jun 12, 2024
af8ecdb
Lint error clean-up pass
VisLab Jun 12, 2024
dc6f597
Added drop=True to reset_index for remove_rows
VisLab Jun 12, 2024
4d7acd9
Merge branch 'develop' of https://github.com/hed-standard/hed-python …
VisLab Jun 12, 2024
aa369f8
Merge pull request #952 from VisLab/develop
VisLab Jun 12, 2024
4581235
Merge pull request #949 from hed-standard/dependabot/submodules/devel…
VisLab Jun 12, 2024
744a237
optimize KeyMap:_remap
IanCa Jun 12, 2024
51c54a2
Remove extraneous import
IanCa Jun 12, 2024
69e6275
Add some more clarifying comments
IanCa Jun 12, 2024
ad3e160
Merge pull request #953 from IanCa/develop
VisLab Jun 13, 2024
bced75d
Update requirements to fix pycharm not recognizing one
IanCa Jun 13, 2024
1213b5d
Merge pull request #954 from IanCa/develop
VisLab Jun 13, 2024
6efd721
Bump spec_tests/hed-examples from `ffdcc75` to `5e9f9eb`
dependabot[bot] Jun 14, 2024
4d0654d
Removed tools imports from top-level init
VisLab Jun 14, 2024
cfcd205
Merge pull request #956 from VisLab/develop
VisLab Jun 14, 2024
f2b7e9a
Make scripts handle deleted files
IanCa Jun 14, 2024
b29cfbc
Fix script_util tests
IanCa Jun 14, 2024
258b1ab
Swap a test from score 1.1.1 to score 1.1.0
IanCa Jun 14, 2024
40ba41b
Created a replace_na to get rid of future warning
VisLab Jun 14, 2024
1bf82d4
Merge pull request #958 from IanCa/develop
VisLab Jun 14, 2024
233d9ef
Merge pull request #955 from hed-standard/dependabot/submodules/devel…
VisLab Jun 14, 2024
c12d4df
Merge branch 'hed-standard:develop' into develop
VisLab Jun 14, 2024
d5deaf8
Merge pull request #959 from hed-standard/develop
VisLab Jun 14, 2024
11de94d
Merge pull request #960 from VisLab/develop
VisLab Jun 14, 2024
a739852
Merge pull request #961 from hed-standard/develop
VisLab Jun 14, 2024
115de84
Update README.md
VisLab Jun 14, 2024
c3763c9
Merge pull request #962 from hed-standard/VisLab-patch-1
VisLab Jun 14, 2024
940e75d
Merge pull request #963 from hed-standard/develop
VisLab Jun 14, 2024
118d7ba
Merge pull request #964 from hed-standard/dev_try_to_sync_develop
VisLab Jun 14, 2024
ce08217
Bump spec_tests/hed-examples from `5e9f9eb` to `5c3544a`
dependabot[bot] Jun 17, 2024
bb3c8ba
Bump paambaati/codeclimate-action from 6.0.0 to 8.0.0
dependabot[bot] Jun 17, 2024
c8122d5
Merge pull request #965 from hed-standard/dependabot/submodules/devel…
VisLab Jun 17, 2024
0f57eae
Merge pull request #966 from hed-standard/dependabot/github_actions/d…
VisLab Jun 17, 2024
cdec86d
Add a search util function to convert to long
IanCa Jun 17, 2024
4d94071
Rename convert_query
IanCa Jun 17, 2024
0343a3e
Merge pull request #968 from IanCa/develop
VisLab Jun 18, 2024
fe17f13
Bump spec_tests/hed-examples from `5c3544a` to `82a6278`
dependabot[bot] Jun 19, 2024
50564ff
Merge pull request #969 from hed-standard/dependabot/submodules/devel…
VisLab Jun 19, 2024
d0c3306
Allow unordered df schema loading
IanCa Jun 20, 2024
2f9385c
Delete codepsellrc, add to toml
IanCa Jun 21, 2024
b9c3159
Merge pull request #970 from IanCa/develop
VisLab Jun 21, 2024
972b10c
Bump spec_tests/hed-specification from `0d8303e` to `0e8a9b1`
dependabot[bot] Jun 21, 2024
2969177
Merge pull request #971 from hed-standard/dependabot/submodules/devel…
VisLab Jun 21, 2024
217ec8e
Bump spec_tests/hed-specification from `0e8a9b1` to `052bd4a`
dependabot[bot] Jun 24, 2024
553ca55
Bump spec_tests/hed-examples from `82a6278` to `9e5691f`
dependabot[bot] Jun 24, 2024
bb4b6f4
Make validation script check tsv, fix saving # in tsv
IanCa Jun 24, 2024
179ea78
Improve output when schema validation fails to reload the file
IanCa Jun 24, 2024
1a2a3ad
Merge pull request #974 from IanCa/develop
VisLab Jun 24, 2024
40f3078
Merge pull request #973 from hed-standard/dependabot/submodules/devel…
VisLab Jun 24, 2024
69df303
Merge pull request #972 from hed-standard/dependabot/submodules/devel…
VisLab Jun 24, 2024
88b2ee4
Don't output empty {} in mediawiki schemas
IanCa Jun 24, 2024
a30b3c0
Bump spec_tests/hed-specification from `052bd4a` to `5465995`
dependabot[bot] Jun 25, 2024
3f14ba6
Bump spec_tests/hed-examples from `9e5691f` to `8824691`
dependabot[bot] Jun 25, 2024
771bf1c
Merge pull request #977 from hed-standard/dependabot/submodules/devel…
VisLab Jun 26, 2024
0ef01a1
Merge pull request #976 from hed-standard/dependabot/submodules/devel…
VisLab Jun 26, 2024
e2097e9
Fix np.nan, add windows CI workflow
IanCa Jun 26, 2024
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
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ exclude_patterns:
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/spec_tests/"
- "**/docs/"
- "Tests/"
- "**/vendor/"
Expand Down
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
per-file-ignores =
# Ignore unused import errors in init files
__init__.py: F401
27 changes: 16 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
run: |
if [[ "${{ github.event_name }}" == 'push' && "${{ github.ref }}" == 'refs/heads/master' ]]; then
# Push to master branch
echo 'matrix=["3.7", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
echo 'matrix=["3.8", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
elif [[ "${{ github.event_name }}" == 'pull_request' && "${{ github.event.pull_request.base.ref }}" == 'master' ]]; then
# PR to master branch
echo 'matrix=["3.7", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
echo 'matrix=["3.8", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
else
echo 'matrix=["3.9"]' >> $GITHUB_OUTPUT
fi
Expand All @@ -39,11 +39,11 @@ jobs:
submodules: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('docs/requirements.txt') }}
Expand All @@ -64,15 +64,20 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide

- name: Test with unittest
env:
HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
HED_GITHUB_TOKEN=${{ secrets.HED_GITHUB_TOKEN }} coverage run -m unittest
coverage run -m unittest

- name: Run spec_test coverage
run: HED_GITHUB_TOKEN=${{ secrets.HED_GITHUB_TOKEN }} coverage run --append -m unittest spec_tests/test_errors.py
env:
HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coverage run --append -m unittest spec_tests/test_errors.py
continue-on-error: true

- name: Archive code coverage results
if: ${{matrix.python-version == '3.9'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: .coverage
Expand Down Expand Up @@ -102,11 +107,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('docs/requirements.txt') }}
Expand All @@ -120,15 +125,15 @@ jobs:
pip install -r docs/requirements.txt

- name: Download a single artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: code-coverage-report

- name: publish-coverages
with:
coverageCommand: coverage xml
debug: true
uses: paambaati/codeclimate-action@v5.0.0
uses: paambaati/codeclimate-action@v8.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

42 changes: 42 additions & 0 deletions .github/workflows/ci_windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
branches: ["main", "master"]
pull_request:
branches: ["main", "master"]

jobs:
build:
strategy:
matrix:
platform: [windows-latest]
python-version: ["3.10"]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
with:
submodules: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('docs/requirements.txt') }}

- name: Install dependencies
run: |
python -m pip install --upgrade --upgrade-strategy eager pip
pip install -r requirements.txt

- name: Test with unittest
env:
HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m unittest
33 changes: 25 additions & 8 deletions .github/workflows/spec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
submodules: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -31,13 +31,30 @@ jobs:
python -m pip install --upgrade --upgrade-strategy eager pip
pip install -r requirements.txt

- name: Test with unittest
- name: Spec Error Tests
id: spec_error_tests
continue-on-error: true
run: |
python -m unittest spec_tests/test_errors.py > test_results.txt
echo "::group::Spec Test Results"
python -m unittest spec_tests/test_errors.py
echo "::endgroup::"

- name: Upload spec test results
uses: actions/upload-artifact@v3
with:
name: spec-test-results
path: test_results.txt
- name: Bids Validation Test
id: bids_validation_test
continue-on-error: true
run: |
echo "::group::Bids Results"
python -m unittest spec_tests/validate_bids.py
echo "::endgroup::"

- name: Hed Cache Test
env:
HED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: hed_cache_test
continue-on-error: true
run: |
python -m unittest spec_tests/test_hed_cache.py

- name: Fail if Tests Failed
if: steps.spec_error_tests.outcome == 'failure' || steps.bids_validation_test.outcome == 'failure' || steps.hed_cache_test.outcome == 'failure'
run: exit 1
44 changes: 44 additions & 0 deletions .github/workflows/test_installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
branches: ["develop"]
pull_request:
branches: ["develop"]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Create work directory
run: |
mkdir workdir
echo "WORKDIR=$(pwd)/workdir" >> $GITHUB_OUTPUT

- name: Create and activate virtual environment
run: |
cd $WORKDIR
python -m venv .venv
source .venv/bin/activate

- name: Install package
run: |
cd $WORKDIR
source .venv/bin/activate
python -m pip install --upgrade pip
pip install $GITHUB_WORKSPACE

- name: Run post-installation test
run: |
cd $WORKDIR
source .venv/bin/activate
python -c "from hed.models.hed_string import HedString; print('Import test passed.')"
5 changes: 5 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
path = spec_tests/hed-specification
url = https://github.com/hed-standard/hed-specification/
branch = develop

[submodule "spec_tests/hed-examples"]
path = spec_tests/hed-examples
url = https://github.com/hed-standard/hed-examples/
branch = develop
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Release 0.5.0
- Added JSON schema specification of remodeling commands.
- Added support for schema that are specified by .tsv files.
- Added support for embedding schema in an ontology.
- Added WordCloud visualizations.
- Added handling of event context and events of temporal extent.

Release 0.4.0 October 27, 2023
- Refactored the model classes to be based on DataFrame.
- Added additional command line options for remodeling tools.
Expand All @@ -8,7 +15,7 @@ Release 0.4.0 October 27, 2023
- Improvements to API-Docs.

Release 0.3.1 July 3, 2023
- Pinned the version of the pydantic and inflect libraries due to inflict.
- Pinned the version of the pydantic and inflect libraries due to conflict.
- Reorganized JSON output of remodeling summaries so that all of consistent form.
- Fixed summarize_hed_tags_op so that tags were correctly categorized for output.
- Minor refactoring to reduce code complexity.
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ To install directly from the
pip install git+https://github.com/hed-standard/hed-python/@master
```

The HEDTools in this repository require Python 3.7 or greater.
**Note:** HED is continuing to support Python 3.7 until 2023, because
it is needed for MATLAB versions R2019a through R2020a.

**Note:** The final exported interface for Python tools has not been
completely frozen in 0.1.0 and is expected to undergo minor changes
in interface until the release of version 1.0.0.
The HEDTools in this repository require Python 3.8 or greater.

### Relationship to other repositories

Expand Down
5 changes: 3 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
defusedxml>=0.7.1
inflect>=6.0.5
jsonschema>=4.17.3
numpy>=1.21.6
openpyxl>=3.1.0
pandas>=1.3.5
portalocker>=2.7.0
semantic_version>=2.10.0
semantic-version>=2.10.0
myst-parser>=1.0.0
Sphinx>=5.2.2
sphinx_rtd_theme>=1.0.0
wordcloud==1.9.2
wordcloud==1.9.3
13 changes: 13 additions & 0 deletions docs/source/_static/customize_icon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.icon-home:before {
content: '';
/* Other styles to adjust size, positioning, etc. */
display: inline-block;
width: 24px;
height: 24px;
background: url('images/croppedWideLogo.png') no-repeat center center;
background-size: contain;
}

.icon-home {
font-family: inherit;
}
22 changes: 6 additions & 16 deletions docs/source/_templates/custom-class-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,24 @@
.. rubric:: {{ _('Methods') }}

.. autosummary::
{% for item in methods %}
{{ module }}.{{ objname }}.{{ item }}
{%- for item in methods %}
{{ objname }}.{{ item }}
{%- endfor %}

.. rubric:: {{ _('Attributes') }}

.. autosummary::
{% for item in attributes %}
{{ module }}.{{ objname }}.{{ item }}
{%- for item in attributes %}
{{ objname }}.{{ item }}
{%- endfor %}

.. toctree::
:hidden:

{% for item in methods %}
{{ fullname }}#method-{{ item }}
{%- endfor %}
{% for item in attributes %}
{{ fullname }}#attribute-{{ item }}
{%- endfor %}

{% for item in methods %}
{%- for item in methods %}
.. _method-{{ item }}:

.. automethod:: {{ module }}.{{ objname }}.{{ item }}
{%- endfor %}

{% for item in attributes %}
{%- for item in attributes %}
.. _attribute-{{ item }}:

.. autoattribute:: {{ module }}.{{ objname }}.{{ item }}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/custom-module-template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
.. rubric:: {{ _('Classes') }}

.. autosummary::
:toctree:
:toctree: _generated_classes
:template: custom-class-template.rst
{% for item in classes %}
{{ item }}
Expand Down
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"myst_parser",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.autosectionlabel",
# "sphinx.ext.autosectionlabel",
"sphinx.ext.intersphinx",
"sphinx.ext.coverage",
"sphinx.ext.mathjax",
Expand Down Expand Up @@ -97,3 +97,7 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_css_files = [
'customize_icon.css',
]
4 changes: 0 additions & 4 deletions docs/source/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ Finding help

The `HED online tools <https://hedtools.org>`_ provide an easy-to-use interface that requires no programming.

:Mailing lists and forums:

* Don't hesitate to ask questions about the python hedtools on `NeuroStars
<https://neurostars.org/tags/hedtools>`_.

:Issues and problems:
* If you notice a bug in the python hedtools code or encounter other problems using the tools, please `open an issue`_ in the
Expand Down
Loading