Skip to content

Commit

Permalink
Merge pull request #356 from casangi/review_schema_changes
Browse files Browse the repository at this point in the history
Review schema changes
  • Loading branch information
Jan-Willem authored Feb 5, 2025
2 parents 6fbfc96 + e9cc577 commit 7400703
Show file tree
Hide file tree
Showing 16 changed files with 12,776 additions and 3,493 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-testing-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9","3.10","3.11","3.12"]
python-version: ["3.9","3.10","3.11","3.12","3.13"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-testing-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: ["macos-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12","3.13"]
steps:
- uses: actions/checkout@v4

Expand Down
70 changes: 68 additions & 2 deletions demo/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -318,6 +318,8 @@
"│<span style=\"color: #000080; text-decoration-color: #000080\"> 59750_altaz_2settings.ms </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> CASA MS v2 </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> ASKAP </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> 0.0037 </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> Interferometer </span>│\n",
"├──────────────────────────────────────────┼────────────────┼─────────────┼──────────┼────────────────────────────┤\n",
"│<span style=\"color: #000080; text-decoration-color: #000080\"> 59749_bp_8beams_pattern.ms </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> CASA MS v2 </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> ASKAP </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> 0.0081 </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> Interferometer </span>│\n",
"├──────────────────────────────────────────┼────────────────┼─────────────┼──────────┼────────────────────────────┤\n",
"│<span style=\"color: #000080; text-decoration-color: #000080\"> gaincal.test.zarr </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> CASA MS v4 </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> NA </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> NA </span>│<span style=\"color: #008000; text-decoration-color: #008000\"> NA </span>│\n",
"└──────────────────────────────────────────┴────────────────┴─────────────┴──────────┴────────────────────────────┘\n",
"</pre>\n"
],
Expand Down Expand Up @@ -412,6 +414,8 @@
"│\u001b[34m \u001b[0m\u001b[34m59750_altaz_2settings.ms \u001b[0m\u001b[34m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mCASA MS v2 \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mASKAP \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32m0.0037 \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mInterferometer \u001b[0m\u001b[32m \u001b[0m│\n",
"├──────────────────────────────────────────┼────────────────┼─────────────┼──────────┼────────────────────────────┤\n",
"│\u001b[34m \u001b[0m\u001b[34m59749_bp_8beams_pattern.ms \u001b[0m\u001b[34m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mCASA MS v2 \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mASKAP \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32m0.0081 \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mInterferometer \u001b[0m\u001b[32m \u001b[0m│\n",
"├──────────────────────────────────────────┼────────────────┼─────────────┼──────────┼────────────────────────────┤\n",
"│\u001b[34m \u001b[0m\u001b[34mgaincal.test.zarr \u001b[0m\u001b[34m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mCASA MS v4 \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mNA \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mNA \u001b[0m\u001b[32m \u001b[0m│\u001b[32m \u001b[0m\u001b[32mNA \u001b[0m\u001b[32m \u001b[0m│\n",
"└──────────────────────────────────────────┴────────────────┴─────────────┴──────────┴────────────────────────────┘\n"
]
},
Expand All @@ -425,6 +429,68 @@
"list_files()"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[\u001b[38;2;128;05;128m2025-01-17 16:16:46,635\u001b[0m] \u001b[38;2;255;160;0m WARNING\u001b[0m\u001b[38;2;112;128;144m viperlog: \u001b[0m File exists: \u001b[38;2;50;50;205m/Users/jsteeb/miniforge3/envs/zinc/lib/python3.12/site-packages/toolviper/utils/data/.dropbox\u001b[0m \n",
"[\u001b[38;2;128;05;128m2025-01-17 16:16:46,635\u001b[0m] \u001b[38;2;50;50;205m INFO\u001b[0m\u001b[38;2;112;128;144m viperlog: \u001b[0m Updating file metadata information ... \n",
" "
]
},
{
"data": {
"text/html": [
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"> \n",
" <span style=\"font-weight: bold\"> Download List </span> \n",
" ─────────────── \n",
" <span style=\"color: #800080; text-decoration-color: #800080\">gmrt.ms</span> \n",
" \n",
"</pre>\n"
],
"text/plain": [
" \n",
" \u001b[1m \u001b[0m\u001b[1mDownload List\u001b[0m\u001b[1m \u001b[0m \n",
" ─────────────── \n",
" \u001b[35mgmrt.ms\u001b[0m \n",
" \n"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
" "
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "caf35236e84d4604a056c918dab1c78d",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"gmrt.ms.zip: 0%| | 0.00/2.03M [00:00<?, ?iB/s]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from toolviper.utils.data import download\n",
"download(file=\"gmrt.ms\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
Expand Down Expand Up @@ -15675,7 +15741,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.6"
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 7400703

Please sign in to comment.