File tree 3 files changed +4
-8
lines changed
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,5 @@ RUN pip install -r requirements.txt && \
20
20
python setup.py install && \
21
21
rm -rf /tmp/build
22
22
23
-
24
- WORKDIR /astropy/astropy
25
-
26
- ENV HOME=/tmp
27
- ENV XDG_CONFIG_HOME=/astropy
28
- ENV XDG_CACHE_HOME=/astropy
23
+ # set env
24
+ ENV HOME=/tmp
Original file line number Diff line number Diff line change @@ -104,13 +104,13 @@ profiles {
104
104
}
105
105
}
106
106
107
-
108
107
if ( host == " garrawarla" ) ) {
109
108
// Set up container
110
109
process. module = ' singularity/3.7.4'
111
110
singularity {
112
111
enabled = true
113
112
envWhitelist = ' SINGULARITY_BINDPATH, SINGULARITYENV_LD_LIBRARY_PATH'
113
+ runOptions = ' --bind $HOME:/$HOME'
114
114
}
115
115
params. containerDir = ' /pawsey/mwa/singularity'
116
116
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ process download_gleam_catalogue {
156
156
try:
157
157
cat.write(data_load.REF_CAT, format='fits')
158
158
os.symlink(data_load.REF_CAT, "GLEAM_ref_cat.fits")
159
- except PermissionError :
159
+ except OSError :
160
160
# No permission so dump it here
161
161
cat.write("GLEAM_ref_cat.fits", format='fits')
162
162
"""
You can’t perform that action at this time.
0 commit comments