forked from pydicom/deid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaning up headers and adding apidocs (pydicom#214)
Signed-off-by: vsoch <[email protected]>
- Loading branch information
Showing
78 changed files
with
1,535 additions
and
1,144 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Update Docs | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: "gh-pages" | ||
|
||
- name: Create conda environment | ||
run: conda create --quiet -c conda-forge --name deid | ||
|
||
- name: Install deid | ||
run: | | ||
export PATH="/usr/share/miniconda/bin:$PATH" | ||
root=$PWD | ||
source activate deid | ||
cd /tmp | ||
git clone -b add/api-docs https://github.com/pydicom/deid | ||
cd deid | ||
pip install -e . | ||
cd ./docs | ||
pip install -r api_docs/requirements.txt | ||
/bin/bash ./apidoc.sh | ||
cd ../ | ||
mv $root/.git ./docs/api_docs/.git | ||
rm -rf $root | ||
mv ./docs/api_docs $root | ||
cd $root | ||
ls -a | ||
git add . | ||
git status | ||
git config --global user.name "github-actions" | ||
git config --global user.email "[email protected]" | ||
git config --global pull.rebase true | ||
git commit -a -m "Adding changed documentation files" | ||
git status | ||
git push origin gh-pages |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ deid.egg-info | |
build | ||
pypi.sh | ||
env | ||
_build | ||
|
||
private | ||
.vscode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
from .header import ( | ||
get_identifiers, | ||
replace_identifiers, | ||
remove_private_identifiers, | ||
) | ||
|
||
from .utils import get_files | ||
from .fields import extract_sequence | ||
from .pixels import has_burned_pixels, DicomCleaner | ||
from .header import get_identifiers, remove_private_identifiers, replace_identifiers | ||
from .pixels import DicomCleaner, has_burned_pixels | ||
from .utils import get_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.