We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78a90c9 commit c00e272Copy full SHA for c00e272
utility/verify_ms.sh
@@ -0,0 +1,5 @@
1
+MS=$1
2
+RESULT=$(python -c "import casacore.tables as ct; ct.table(\"$MS\")" 2>/dev/null)
3
+if ! grep -q "Successful readonly open" <<< "$RESULT"; then
4
+ echo "$MS is NOT a valid MeasurementSet."
5
+fi
0 commit comments