diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2f74d00e..699cbabd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,10 +2,10 @@ name: tests on: push: - branches: [ main ] + branches: [main] pull_request: schedule: - - cron: '14 3 * * 1' # at 03:14 on Monday. + - cron: "14 3 * * 1" # at 03:14 on Monday. jobs: pytest: @@ -29,7 +29,7 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - cache: 'poetry' + cache: "poetry" - name: Install package run: | poetry install --no-interaction @@ -40,4 +40,4 @@ jobs: - uses: codecov/codecov-action@v2 with: flags: fulltest - verbose: true \ No newline at end of file + verbose: true diff --git a/zndraw/app.py b/zndraw/app.py index 1ec61d0e..30dd139c 100644 --- a/zndraw/app.py +++ b/zndraw/app.py @@ -131,7 +131,11 @@ def modifier_run(data): # modifier = available_methods[data["name"]](**data["params"]) print(f"modifier:run {modifier = }") atoms_list = modifier.run( - atom_ids=data["selection"], atoms=atoms, points=points, segments=segments, json_data=data["atoms"] if "atoms" in data else None + atom_ids=data["selection"], + atoms=atoms, + points=points, + segments=segments, + json_data=data["atoms"] if "atoms" in data else None, ) io.emit("atoms:clear", int(data["step"]) + 1) for idx, atoms in tqdm.tqdm(enumerate(atoms_list)):