-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Python >3.9, numpy >2.0, support SNIRF 1.2.0-development (#51
) * Replaced numpy.str_ with numpy.bytes_ to support numpy 2 * path fiddling in test.py * Upgrade to Python >3.9 * README * Removed < 3.9 python versions from test * 1.2-draft gen * added option to download spec even when local copy is present * gen from 1.2-draft * Added verbose test exceptions, began support for measurementLists * Towards measurementLists, dataOffset support * Added check for alignment of ingested schema table and descriptions * On write, pysnirf2 now attempts to correct arrays with erroneous singular dimensions (such as those produced by MATLAB) beyond the specified ndim. dataOffset and measurementList support added but not fully functional based on current official spec * measurementList/measurementLists are manually covalidated for presence * CI: Automated docs update * updated test files: removed moduleIndex * Support for dataOffset; switched memory only SNIRF representations from tempfile to the h5py backend * Fix to tests; docstring * CI: Automated docs update * "' * Template changes * Fixed validation of probe vs. measurementList(s) * CI: Automated docs update * Delete tests/data/v120dev-Simple_Probe_measLists.snirf * Converting to numpy upon assignment of array; accidentally a logical * CI: Automated docs update * Better input sanitization * CI: Automated docs update * Conversion interface * Groups are now deleted from disk files with save; validation of measurementList(s) fixes * Fix index > 0 validation * Accidentally a : * tests of measurementList(s) validation and conversion utility functions * CI: Automated docs update * Generator support for collecting recognized aux names, datatypes and datatype labels from spec * dataType and dataTypeLabel validation * Fix to type/typeLabel validation for measurementLists * CI: Automated docs update --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c0266a2
commit 6369714
Showing
18 changed files
with
3,545 additions
and
1,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
h5py | ||
numpy | ||
numpy>=2.0.0 | ||
setuptools | ||
pip | ||
termcolor | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,10 +75,10 @@ def run(self): | |
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
author_email='[email protected]', | ||
python_requires='>=3.6.0', | ||
python_requires='>=3.9.0', | ||
install_requires=[ | ||
'h5py>=3.1.0', | ||
'numpy', | ||
'numpy>2.0.0', | ||
'setuptools', | ||
'pip', | ||
'termcolor', | ||
|
Oops, something went wrong.