Skip to content

Commit 1924dba

Browse files
Merge pull request #123 from AD-SDL/dev
v0.6.0 - Data Management; Cleanup
2 parents f41ac4e + 405f421 commit 1924dba

Some content is hidden

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

61 files changed

+4348
-1266
lines changed

.eslintrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
extends: [
6+
'eslint:recommended',
7+
'plugin:vue/vue3-essential',
8+
'@typescript-eslint/recommended',
9+
'@vue/eslint-config-prettier',
10+
'@vue/eslint-config-typescript'
11+
]
12+
}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: nbstripout
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
1919
# Ruff version.
20-
rev: v0.4.10
20+
rev: v0.5.5
2121
hooks:
2222
# Run the linter.
2323
- id: ruff

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ checks: # Runs all the pre-commit checks
2424

2525
test: init .env build # Runs all the tests
2626
@docker compose up -d
27-
@docker compose run wei_engine pytest -p no:cacheprovider wei
27+
@docker compose run test_wei_server pytest -p no:cacheprovider wei
2828
@#docker compose down
2929

3030
clean:

compose.yaml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,48 +30,31 @@ services:
3030
#####################
3131
# WEI Core Services #
3232
#####################
33-
wei_server:
33+
test_wei_server:
3434
image: ${IMAGE}
3535
build:
3636
context: .
3737
dockerfile: ${DOCKERFILE}
3838
tags:
3939
- ${IMAGE}:latest
4040
- ${IMAGE}:dev
41-
container_name: wei_server
41+
container_name: test_wei_server
4242
ports:
4343
- 8000:8000
4444
volumes:
4545
- diaspora_config:/home/app/.diaspora
4646
- ./tests/workcells:/workcell_defs
4747
- ~/.wei:/home/app/.wei
48-
4948
environment:
5049
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
5150
- USER_ID=${USER_ID:-1000}
5251
- GROUP_ID=${GROUP_ID:-1000}
5352
command: python3 -m wei.server --workcell /workcell_defs/${WORKCELL_FILENAME}
5453
depends_on:
55-
- wei_redis
56-
wei_engine:
57-
image: ${IMAGE}
58-
container_name: wei_engine
59-
volumes:
60-
- diaspora_config:/home/app/.diaspora
61-
- ./tests/workcells:/workcell_defs
62-
- ~/.wei:/home/app/.wei
63-
- ./:/home/app/wei # for development only
64-
environment:
65-
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
66-
- USER_ID=${USER_ID:-1000}
67-
- GROUP_ID=${GROUP_ID:-1000}
68-
command: python3 -m wei.engine --workcell /workcell_defs/${WORKCELL_FILENAME}
69-
depends_on:
70-
- wei_redis
71-
- wei_server
72-
wei_redis:
54+
- test_wei_redis
55+
test_wei_redis:
7356
image: redis
74-
container_name: wei_redis
57+
container_name: test_wei_redis
7558
ports:
7659
- 6379:6379
7760
volumes:

package-lock.json

Lines changed: 22 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"prettier": "^3.3.2"
4+
}
5+
}

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ad_sdl.wei"
3-
version = "0.5.9"
3+
dynamic = ["version"]
44
description = "The Rapid Prototyping Laboratory's Workflow Execution Interface."
55
authors = [
66
{name = "Rafael Vescovi", email = "ravescovi@anl.gov"},
@@ -72,6 +72,8 @@ build-backend = "setuptools.build_meta"
7272

7373
[tool.setuptools]
7474
package-dir = {"wei" = "src/wei"}
75+
[tool.setuptools.dynamic]
76+
version = {attr = "wei.__version__"}
7577

7678
#####################
7779
# Development Tools #

redis.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/ui/components.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
// @ts-nocheck
44
// Generated by unplugin-vue-components
55
// Read more: https://github.com/vuejs/core/pull/3399
6-
export {}
6+
export { }
77

88
declare module 'vue' {
99
export interface GlobalComponents {
1010
Dashboard: typeof import('./src/components/Dashboard.vue')['default']
1111
Event: typeof import('./src/components/Event.vue')['default']
1212
Experiments: typeof import('./src/components/Experiments.vue')['default']
13-
LocationsColumn: typeof import('./src/components/LocationsColumn.vue')['default']
14-
ModuleColumn: typeof import('./src/components/ModuleColumn.vue')['default']
13+
LocationsPanel: typeof import('./src/components/LocationsPanel.vue')['default']
14+
ModulesPanel: typeof import('./src/components/ModulesPanel.vue')['default']
1515
ModuleModal: typeof import('./src/components/ModuleModal.vue')['default']
1616
Workflow: typeof import('./src/components/Workflow.vue')['default']
1717
WorkflowModal: typeof import('./src/components/WorkflowModal.vue')['default']
18-
WorkflowsColumn: typeof import('./src/components/WorkflowsColumn.vue')['default']
18+
WorkflowsPanel: typeof import('./src/components/WorkflowsPanel.vue')['default']
1919
WorkflowTable: typeof import('./src/components/WorkflowTable.vue')['default']
2020
}
2121
}

0 commit comments

Comments
 (0)