Skip to content

Commit e6bff6e

Browse files
authored
Merge pull request #817 from thehrh/stage_declare_expected_keys
Service transparency and usability: expected data keys, supported representations, unit tests
2 parents dacc631 + 217df0c commit e6bff6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2293
-507
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
run: |
3939
pip install pytest
4040
PISA_FTYPE=fp32 PISA_TARGET=cpu MPLBACKEND=agg ./pisa_tests/test_example_pipelines.py -v
41+
- name: Test PISA services, double precision
42+
run: |
43+
PISA_FTYPE=fp64 PISA_TARGET=cpu PISA_RESOURCES=./pisa_examples/resources MPLBACKEND=agg ./pisa_tests/test_services.py -v
4144
- name: Test PISA imports and unit tests, double precision
4245
run: |
4346
pip install pytest

pisa/core/bin_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def lookup_indices(sample, binning):
132132
if len(sample) != binning.num_dims:
133133
raise ValueError(
134134
f"`binning` has {binning.num_dims} dimension(s), but `sample`"
135-
f"contains {len(sample)} arrays (so represents {len(sample)}"
135+
f" contains {len(sample)} arrays (so represents {len(sample)}"
136136
f" dimensions)"
137137
)
138138

0 commit comments

Comments
 (0)