-
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 #4 from ska-sa/modernize
Modernize
- Loading branch information
Showing
31 changed files
with
6,016 additions
and
5,183 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.git | ||
.gitignore | ||
.idea/ | ||
.venv2/ | ||
.venv3/ |
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 |
---|---|---|
|
@@ -3,5 +3,7 @@ | |
.idea/ | ||
build/ | ||
MANIFEST | ||
astro_tigger.egg-info/ | ||
*.egg-info/ | ||
.venv*/ | ||
dist/ | ||
test/bla.restored.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 |
---|---|---|
@@ -1,9 +1,30 @@ | ||
FROM kernsuite/base:2 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ADD . /tmp/tigger-lsm | ||
|
||
RUN pip install /tmp/tigger-lsm | ||
|
||
CMD /usr/local/bin/tigger-convert | ||
FROM kernsuite/base:4 | ||
RUN docker-apt-install \ | ||
python-setuptools \ | ||
python-numpy \ | ||
python-scipy \ | ||
python-astropy \ | ||
python-astro-kittens \ | ||
python-astlib \ | ||
python-pip \ | ||
python3-setuptools \ | ||
python3-numpy \ | ||
python3-scipy \ | ||
python3-astropy \ | ||
python3-astlib \ | ||
python3-pip | ||
RUN docker-apt-install git | ||
ADD . /code | ||
RUN pip3 install git+https://github.com/ska-sa/kittens.git@modernize | ||
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 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 |
Oops, something went wrong.