Skip to content

Commit

Permalink
fix weird issue in singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Nov 19, 2024
1 parent d4fac62 commit 4dec686
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ RUN apt-get update && \

# install giant-squid
RUN cargo install mwa_giant_squid --locked && \
rm -rf ${CARGO_HOME}/registry /opt/cargo/git/checkouts/
cargo clean && \
rm -rf ${CARGO_HOME}/registry ${CARGO_HOME}/git

# for example, CMAKE_ARGS="-D CMAKE_CXX_FLAGS='-march=native -mtune=native -O3 -fomit-frame-pointer'"
ARG CMAKE_ARGS="-DPORTABLE=True"
Expand Down
4 changes: 3 additions & 1 deletion demo/04_ssins.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# identify RFI using ssins
# details: https://github.com/mwilensky768/SSINS

# tip: you can use this script to apply the ssins mask https://raw.githubusercontent.com/MWATelescope/MWAEoR-Pipeline/refs/heads/main/templates/ssins_apply.py

from pyuvdata import UVData
from SSINS import SS, INS, MF
import os
Expand Down Expand Up @@ -740,7 +742,7 @@ def read_select(uvd: UVData, args):
read_time = time.time() - start
print(f"read took {int(read_time)}s. {int(total_size_mb/read_time)} MB/s")
else:
raise ValueError
raise ValueError(f"could not determine visibility file type {file_groups}")

if args.sel_pols:
select_kwargs["polarizations"] = args.sel_pols
Expand Down

0 comments on commit 4dec686

Please sign in to comment.