From c110905d32dcb69a52c59a30a3de1815bac9643d Mon Sep 17 00:00:00 2001 From: Matthew Carbone Date: Fri, 29 Sep 2023 14:43:28 -0400 Subject: [PATCH] Debug --- .github/workflows/publish.yml | 40 ----------------------------------- lightshow/_tests/conftest.py | 3 ++- 2 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 7898f750..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Publish - -# Run on all PR's and on pushes/merges to deploy and master -on: - push: - tags: ["v*"] - -jobs: - - build_and_publish: - # This workflow follows the best practices outlined here: - # https://github.com/marketplace/actions/pypi-publish - # for deploying a project to PyPI via a GH action. It only runs on tags - - name: Upload release to PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/project/lightshow/ - permissions: - id-token: write - - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - - name: Build and apply version - run: bash scripts/build_project.sh - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://upload.pypi.org/legacy/ diff --git a/lightshow/_tests/conftest.py b/lightshow/_tests/conftest.py index ef219c37..dc4a2336 100644 --- a/lightshow/_tests/conftest.py +++ b/lightshow/_tests/conftest.py @@ -62,7 +62,8 @@ def _database_for_stress_test(): # "mp-1208324", "mp-10734"] # return Database.from_materials_project(material_ids=trouble) # return Database.from_materials_project(material_ids=["mp-980945"]) - db = Database.from_materials_project(chemsys=["Ti-O"]) + # db = Database.from_materials_project(chemsys=["Ti-O"]) + db = Database.from_materials_project(material_ids=["mp-390"]) keys = list(db._structures.keys()) # random.seed(123) # keys = random.sample(keys, 200)