Skip to content

Commit

Permalink
package name change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DSeiferth committed Mar 19, 2024
1 parent 157bad5 commit 5c7b060
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: PoreFinding_Ellipsoid # PoreFinding_pdb
name: PoreFinder #PoreFinding_Ellipsoid # PoreFinding_pdb

on:
push:
Expand Down Expand Up @@ -36,21 +36,21 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Set execute permissions
run: chmod +x PoreFinding/hole2/hole
run: chmod +x PoreFinder/hole2/hole # PoreFinding/hole2/hole
- name: Debugging Output
run: |
echo "ls -la /home/runner/work/PoreFinding/"
ls -la /home/runner/work/PoreFinding/
echo "ls -la /home/runner/work/PoreFinding/PoreFinding/"
ls -la /home/runner/work/PoreFinding/PoreFinding/
echo "ls -la /home/runner/work/PoreFinding/PoreFinding/PoreFinding/hole2/"
ls -la /home/runner/work/PoreFinding/PoreFinding/PoreFinding/hole2/
echo "ls -la /home/runner/work/PoreFinder/"
ls -la /home/runner/work/PoreFinder/
echo "ls -la /home/runner/work/PoreFinder/PoreFinder/"
ls -la /home/runner/work/PoreFinder/PoreFinder/
echo "ls -la /home/runner/work/PoreFinder/PoreFinder/PoreFinder/hole2/"
ls -la /home/runner/work/PoreFinder/PoreFinder/PoreFinder/hole2/
echo "pwd"
pwd
echo "Current directory: $(pwd)"
- name: Check Architecture Compatibility
run: |
file /home/runner/work/PoreFinding/PoreFinding/PoreFinding/hole2/hole
file /home/runner/work/PoreFinder/PoreFinder/PoreFinder/hole2/hole
#- name: Run hole2
# run: |
# # echo "hole2/./hole"
Expand All @@ -61,5 +61,5 @@ jobs:
python -m unittest
- name: Debug Info
run: |
echo "Current Version: $(python -c "import PoreFinding as pf; print(pf.__version__)")"
echo "Current Version: $(python -c "import PoreFinder as pf; print(pf.__version__)")"
6 changes: 4 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
pip install build
- name: Debug Info
run: |
echo "Current Version: $(python -c "import PoreFinding as pf; print(pf.__version__)")"
#echo "Current Version: $(python -c "import PoreFinding as pf; print(pf.__version__)")"
echo "Current Version: $(python -c "import PoreFinder as pf; print(pf.__version__)")"
- name: Build package
run: python -m build
- name: Debug Info
run: |
echo "Current Version: $(python -c "import PoreFinding as pf; print(pf.__version__)")"
#echo "Current Version: $(python -c "import PoreFinding as pf; print(pf.__version__)")"
echo "Current Version: $(python -c "import PoreFinder as pf; print(pf.__version__)")"
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down
2 changes: 1 addition & 1 deletion PoreFinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#from .version_info import VERSION_INT, VERSION # noqa

# Import main classes
from .porefinding import PoreAnalysis
from .porefinder import PoreAnalysis
#import sys
#from .hole_analysis import hole_analysis
#sys.path.append('ProbeParticleEllipsoid/')
Expand Down

0 comments on commit 5c7b060

Please sign in to comment.