-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ska-sa/py3
port to py3
- Loading branch information
Showing
7 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ MANIFEST | |
.venv*/ | ||
dist/ | ||
test/bla.restored.fits | ||
test/bla.fits |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install python3-pip | ||
RUN pip3 install mypy | ||
ADD . /code | ||
WORKDIR /code | ||
RUN mypy --ignore-missing-imports Tigger | ||
|
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,7 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install python3-pip | ||
RUN pip3 install pycodestyle | ||
ADD . /code | ||
WORKDIR /code | ||
RUN pycodestyle Tigger --ignore=E501 | ||
|
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,17 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install \ | ||
python-setuptools \ | ||
python-numpy \ | ||
python-scipy \ | ||
python-astropy \ | ||
python-astro-kittens \ | ||
python-astlib \ | ||
python-pip | ||
ADD . /code | ||
RUN pip install /code | ||
RUN python2 /usr/local/bin/tigger-convert /code/test/3C147-HI6.refmodel.lsm.html /tmp/output.txt | ||
RUN python2 /usr/local/bin/tigger-make-brick /code/test/3C147-HI6.refmodel.lsm.html /code/test/bla.fits | ||
RUN python2 /usr/local/bin/tigger-tag /code/test/3C147-HI6.refmodel.lsm.html gijs | ||
RUN python2 /usr/local/bin/tigger-restore -f /code/test/bla.fits /code/test/3C147-HI6.refmodel.lsm.html | ||
RUN echo "the next command should not print 1" | ||
RUN wc -l /tmp/output.txt |
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,16 @@ | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install \ | ||
python3-setuptools \ | ||
python3-numpy \ | ||
python3-scipy \ | ||
python3-astropy \ | ||
python3-astlib \ | ||
python3-pip | ||
ADD . /code | ||
RUN pip3 install /code | ||
RUN python3 /usr/local/bin/tigger-convert -f /code/test/3C147-HI6.refmodel.lsm.html /tmp/output.txt | ||
RUN python3 /usr/local/bin/tigger-make-brick /code/test/3C147-HI6.refmodel.lsm.html /code/test/bla.fits | ||
RUN python3 /usr/local/bin/tigger-tag /code/test/3C147-HI6.refmodel.lsm.html gijs | ||
RUN python3 /usr/local/bin/tigger-restore -f /code/test/bla.fits /code/test/3C147-HI6.refmodel.lsm.html | ||
RUN echo "the next command should not print 1" | ||
RUN wc -l /tmp/output.txt |
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