Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: 18.x
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: 18.x
cache: "yarn"
Expand Down
2 changes: 1 addition & 1 deletion apps/haddock3-download/integration-tests/dupheader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test.describe('given an uploaded archive with a workflow.cfg file with a duplica

test('it should show uplaoded file', async ({ page }) => {
// Click Files tab
await page.locator('text=Files').click()
await page.locator('button:has-text("Files")').click()
// validate file button is present
await page.waitForSelector('button:has-text("some.pdb")')
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('Verify that [object Object] bug does not show up (issue #74)', async ({ pa
await page.locator('text=docking-protein-ligand').click()

// validate that file is used
await page.locator('text=Files').click()
await page.locator('button:has-text("Files")').click()
await page.waitForSelector('button:has-text("data/target.pdb")')

// change to 'text' tab
Expand Down
2 changes: 1 addition & 1 deletion apps/haddock3-download/integration-tests/topoaamol.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test.describe('given 1 molecule and a topoaa node', () => {
.setInputFiles({ name: 'workflow.zip', mimeType: 'application/zip', buffer: file1 })

// ensure file is uploaded
await page.locator('text=Files').click()
await page.locator('button:has-text("Files")').click()
await page.waitForSelector('button:has-text("e2a-hpr_1GGR.pdb")')
})

Expand Down
2 changes: 1 addition & 1 deletion apps/haddock3-download/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^17.0.0"
},
"devDependencies": {
"@playwright/test": "^1.22.1",
"@playwright/test": "^1.45.0",
"@types/adm-zip": "^0.5.0",
"@types/node": "16",
"@types/react": "^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/haddock3-download/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
Expand Down
8 changes: 7 additions & 1 deletion packages/haddock3_catalog/generate_haddock3_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,18 @@ def config2schema(config):
prop['items'] = {
"type": "number"
}
elif k == 'ligand_chains':
elif k == 'ligand_chains' or k == 'chains':
prop['items'] = {
"type": "string",
"format": "chain"
}
prop['default'] = v['default']
elif k == 'interface_combinations':
# For emscoring module
prop['items'] = {
"type": "string"
}
prop['default'] = v['default']
else:
raise ValueError(f"Don't know how to determine type of items of {v}")
else:
Expand Down
Loading
Loading