-
Notifications
You must be signed in to change notification settings - Fork 5
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 #90 from ska-sa/py3ize
Some py3 changes
- Loading branch information
Showing
40 changed files
with
63,442 additions
and
49 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 |
---|---|---|
|
@@ -5,4 +5,4 @@ MANIFEST | |
dist/ | ||
.venv*/ | ||
pyxis.log | ||
|
||
.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
FROM kernsuite/base:4 | ||
FROM kernsuite/base:5 | ||
RUN docker-apt-install \ | ||
casacore-dev \ | ||
casacore-tools \ | ||
casarest \ | ||
meqtrees-timba \ | ||
libqdbm-dev \ | ||
owlcat \ | ||
python-astro-tigger \ | ||
python-gdbm \ | ||
python-pip \ | ||
python-astropy \ | ||
python-matplotlib \ | ||
python-casacore \ | ||
python-numpy \ | ||
python-pip | ||
python-scipy \ | ||
python-astlib \ | ||
python-casacore \ | ||
python-casacore \ | ||
python-qt4 \ | ||
python-qwt \ | ||
build-essential \ | ||
libboost-all-dev \ | ||
makems | ||
|
||
ADD . /code | ||
WORKDIR /code | ||
# Test specific external software | ||
RUN docker-apt-install \ | ||
casalite \ | ||
wsclean | ||
|
||
# check basic pyxis installation | ||
ADD . /code/pyxis | ||
WORKDIR /code/pyxis | ||
RUN pip install . | ||
RUN pyxis | ||
WORKDIR / | ||
RUN pyxis | ||
|
||
# run test when built | ||
RUN pip install nose | ||
WORKDIR /usr/local/lib/python2.7/dist-packages/Pyxis/recipies | ||
RUN python2.7 -m "nose" |
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,13 +1,35 @@ | ||
FROM kernsuite/base:4 | ||
FROM kernsuite/base:5 | ||
RUN docker-apt-install \ | ||
casacore-dev \ | ||
casacore-tools \ | ||
casarest \ | ||
meqtrees-timba \ | ||
libqdbm-dev \ | ||
owlcat \ | ||
python-astro-tigger \ | ||
python3-gdbm \ | ||
python3-pip \ | ||
python3-astropy \ | ||
python3-matplotlib \ | ||
python3-casacore \ | ||
python3-numpy \ | ||
python3-pip | ||
python3-scipy \ | ||
python3-astlib \ | ||
python3-casacore \ | ||
python3-casacore \ | ||
python3-pyqt4 \ | ||
python3-qwt \ | ||
build-essential \ | ||
libboost-all-dev \ | ||
makems \ | ||
wget | ||
|
||
ADD . /code | ||
WORKDIR /code | ||
# check basic pyxis installation | ||
ADD . /code/pyxis | ||
WORKDIR /code/pyxis | ||
RUN pip3 install . | ||
WORKDIR / | ||
RUN pyxis | ||
|
||
# run test when built | ||
RUN pip3 install nose | ||
WORKDIR /usr/local/lib/python3.6/dist-packages/Pyxis/recipies | ||
RUN python3.6 -m "nose" |
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,14 @@ | ||
include pyxis *.py | ||
include Pyxides *.py | ||
include Pyxides/im *.py | ||
include Pyxides/utils *.py | ||
|
||
# any datafiles here | ||
recursive-include Pyxis/recipies/meqtrees-batch-test/WSRT_ANTENNA * | ||
recursive-include Pyxis/recipies/imagers-test/WSRT_ANTENNA * | ||
include Pyxis/recipies/meqtrees-batch-test/test-lsm1.txt.reference | ||
recursive-include Pyxis/recipies/ *.py | ||
recursive-include Pyxis/recipies/ *.txt | ||
recursive-include Pyxis/recipies/ *.fits | ||
recursive-include Pyxis/recipies/ *.conf | ||
recursive-include Pyxis/recipies/ *.cfg |
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
import math | ||
import argo | ||
import im | ||
|
||
# Standard options | ||
gain = 0.1 | ||
sigmalevel = 3.0 | ||
|
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,4 +1,4 @@ | ||
import im.argo | ||
from Pyxides.im import argo | ||
|
||
from Pyxis.ModSupport import * | ||
|
||
|
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
File renamed without changes.
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
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.