Skip to content

Commit

Permalink
Merge pull request #948 from thewtex/string-vector-input
Browse files Browse the repository at this point in the history
String vector input
  • Loading branch information
thewtex authored Sep 22, 2023
2 parents e4a2e16 + 4dbafc2 commit 05e6977
Show file tree
Hide file tree
Showing 13 changed files with 1,501 additions and 7,279 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cxx-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push,pull_request]

env:
itk-git-tag: "v5.4rc01"
itk-wheel-tag: "v5.3.0"
itk-wheel-tag: "v5.4rc01"
ITKMeshToPolyData-git-tag: "v0.11rc01"

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
python-major-version: [3]
python-minor-version: [7, 8, 9, 10, 11]
python-minor-version: [8, 9, 10, 11]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
python-major-version: [3]
python-minor-version: [7, 8, 9, 10, 11]
python-minor-version: [8, 9, 10, 11]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm install
npm run start
```

And visit [http://localhost:8080/](http://localhost:8080/).
And visit [http://localhost:8686/](http://localhost:8686/).

## Development

Expand Down
4 changes: 2 additions & 2 deletions examples/webpack/cypress/e2e/load_data.cy.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
describe('Load data', () => {
it('successfully loads a mesh', () => {
cy.visit('http://localhost:8080/')
cy.visit('http://localhost:8686/')
cy.fixture('cow.vtk', null).then((cowBuffer) => {
cy.get('input[type=file]').selectFile({ contents: cowBuffer, fileName: 'cow.vtk' })
cy.get('textarea').contains('"numberOfPoints": 2903,')
})
})

it('successfully loads an image', () => {
cy.visit('http://localhost:8080/')
cy.visit('http://localhost:8686/')
cy.fixture('cthead1.png', null).then((headBuffer) => {
cy.get('input[type=file]').selectFile({ contents: headBuffer, fileName: 'cthead1.png' })
cy.get('textarea').contains('"imageType"')
Expand Down
Loading

0 comments on commit 05e6977

Please sign in to comment.