Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ece2735
adds a flow data generator specific for segmentation tasks, and a ima…
Sajtospoga01 Mar 12, 2023
70186e1
add instructions to readme on installation
Sajtospoga01 Mar 12, 2023
31746d6
updates gitignore to cover python cache files, adds image onehot enco…
Sajtospoga01 Mar 12, 2023
0b247a6
separates seed variables out of flowreader.py and image_encoder.py
Sajtospoga01 Mar 13, 2023
144ea68
Merge pull request #11 from guorbit/tests
Sajtospoga01 Mar 13, 2023
57435b3
changes the package name from image_encoder to ImagePreprocessor, rem…
Sajtospoga01 Mar 13, 2023
c63f988
adds tests for preprocessing queue
Sajtospoga01 Mar 13, 2023
e16aa57
formats testing queue
Sajtospoga01 Mar 13, 2023
24ecb3c
adds test for main flowreader
Sajtospoga01 Mar 14, 2023
a2086ec
remove dependency of main flowreader test on preprocess function
Sajtospoga01 Mar 14, 2023
87a3db7
adds test for preprocessing function in flowgenerator
Sajtospoga01 Mar 14, 2023
3d2a4d7
add todo to flow reader test
Sajtospoga01 Mar 14, 2023
4411ea2
adds tests for the processing pipeline, adds functionality for the au…
Sajtospoga01 Mar 14, 2023
6d5941d
updates preprocessing pipeline to reshape images in the pipeline for …
Sajtospoga01 Mar 14, 2023
7845371
adds tests for flow generator
Sajtospoga01 Mar 14, 2023
b6e7ce9
updates flowreader, and imagepreprocessor to accept both column tenso…
Sajtospoga01 Mar 15, 2023
c4dc9dd
abstract lambda mock functions and generator arguments to variable fo…
Sajtospoga01 Mar 15, 2023
226876f
update condition for get_generator test, adds extra comments
Sajtospoga01 Mar 15, 2023
09ea838
add tests for imagepreprocessor to test if no default queue is provid…
Sajtospoga01 Mar 15, 2023
45f75c5
adds new test to image_preprocessor, adds requirements
Sajtospoga01 Mar 15, 2023
5a1f02b
Merge pull request #15 from guorbit/processing_queue_dataclass
Sajtospoga01 Mar 15, 2023
3724ed9
adds valueerror testing for flowreader output values
Sajtospoga01 Mar 15, 2023
7f23911
adds random state for the image augmentation pipeline
Sajtospoga01 Mar 15, 2023
aeb4dc9
updates documentation
Sajtospoga01 Mar 15, 2023
4670bf9
update gitignore and update documentation on flowreader
Sajtospoga01 Mar 15, 2023
8a2f96e
adds documentation files, adds rst files to gitignore
Sajtospoga01 Mar 16, 2023
b966ebe
update documentation theme
Sajtospoga01 Mar 16, 2023
fe59467
updates documentation to include all packages on the index page
Sajtospoga01 Mar 16, 2023
6602376
updates styling of the documentation
Sajtospoga01 Mar 16, 2023
4b0bdb0
Create .github/workflows/static.yml
Sajtospoga01 Mar 16, 2023
6eddc04
Merge pull request #18 from guorbit/Sajtospoga01-patch-2
Sajtospoga01 Mar 16, 2023
bdd5040
updates deployment configuration
Sajtospoga01 Mar 16, 2023
80db988
Update static.yml
Sajtospoga01 Mar 16, 2023
589e859
Update static.yml
Sajtospoga01 Mar 16, 2023
7fe3f03
Update static.yml
Sajtospoga01 Mar 16, 2023
e84bad4
update CD to save artifacts between jobs
Sajtospoga01 Mar 16, 2023
dded00c
update path for pages
Sajtospoga01 Mar 16, 2023
04ab41b
update documentation on utilities repo
Sajtospoga01 Mar 17, 2023
dbd4eb0
remove pregenerated modules
Sajtospoga01 Mar 17, 2023
01a7178
updates CD pipeline
Sajtospoga01 Mar 17, 2023
9ebf9b3
add extension to sphinx to allow parsion of multiple documentation types
Sajtospoga01 Mar 18, 2023
44b5619
removes unnecessary import
Sajtospoga01 Mar 18, 2023
ebb5fc8
adds setup.py for build specification
Sajtospoga01 Mar 18, 2023
51a7015
fixes bug in flow reader and agumentation pipeline that causes masks …
Sajtospoga01 Mar 18, 2023
9c06dbe
remove napoleon from sphinx
Sajtospoga01 Mar 18, 2023
cc94418
updates tests to mainly rely on tensors, and to adapt to the changes …
Sajtospoga01 Mar 18, 2023
79df3ee
Merge branch 'sphinx_documentation' of github.com:guorbit/utilities i…
Sajtospoga01 Mar 18, 2023
3f6ffcc
moves documentation branch to staging
Sajtospoga01 Mar 18, 2023
c208828
Merge pull request #20 from guorbit/sphinx_documentation
Sajtospoga01 Mar 18, 2023
40aaf0c
updates flowreader to generate the default queue instead of augmentat…
Sajtospoga01 Mar 18, 2023
968be45
fixes bug in flowreader where some important variable assignments wer…
Sajtospoga01 Mar 18, 2023
f47bb25
point documentation to master temporarily
Sajtospoga01 Mar 18, 2023
349ab63
adds seed assignment in preprocess
Sajtospoga01 Mar 18, 2023
abdd648
adds karg assignment for preprocessor call
Sajtospoga01 Mar 18, 2023
e67f9f1
adds ability to disable the preprocessing pipeline
Sajtospoga01 Mar 18, 2023
ccf7e94
updates image preprocessor and flowreader to comply with linting
Sajtospoga01 Mar 18, 2023
65c7ba4
adds pylint configuration file
Sajtospoga01 Mar 18, 2023
18d88ee
updates flowreader test for proper linting
Sajtospoga01 Mar 19, 2023
bb4c1cf
updates linting on image_preprocessor_test
Sajtospoga01 Mar 19, 2023
6d80db9
updates environment name of documentation environment
Sajtospoga01 Mar 19, 2023
a211592
checkout changes
Sajtospoga01 Mar 19, 2023
060a58c
update documentation deployment workflow to only trigger on main
Sajtospoga01 Mar 19, 2023
6e26011
test pipeline status badge
Sajtospoga01 Mar 19, 2023
3473774
Update python-app.yml
Sajtospoga01 Mar 19, 2023
f59ea5d
Merge pull request #21 from guorbit/Sajtospoga01-patch-2
Sajtospoga01 Mar 19, 2023
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/python-app.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 single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application
name: CI pipeline

on:
push:
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy Documentation on Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -U sphinx
pip install furo

- name: Build documentation
run: |
cd docs


sphinx-apidoc -e -M --force -o . ..
make html
- name: Upload build data
uses: actions/upload-artifact@v3
with:
name: documentation
path: ./docs/_build/html

deploy:
needs: build
environment:
name: documentation
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Download built directory
uses: actions/download-artifact@v3
with:
name: documentation
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
with:
folder: build
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
/archive/
/archive_resized/
/checkpoints/
/exported_models/
archive.lnk

colab_notebook.ipynb
/.vscode/


Loading