|
259 | 259 | "metadata": { |
260 | 260 | "scrolled": true |
261 | 261 | }, |
262 | | - "outputs": [ |
263 | | - { |
264 | | - "name": "stderr", |
265 | | - "output_type": "stream", |
266 | | - "text": [ |
267 | | - "WARNING:root:many=True not supported from argparse\n", |
268 | | - "INFO:NwayMatching:NWAY_COMMIT_SHA None\n", |
269 | | - "INFO:NwayMatching:Nway matching version 0.6.0\n", |
270 | | - "WARNING:root:many=True not supported from argparse\n", |
271 | | - "WARNING:root:many=True not supported from argparse\n", |
272 | | - "INFO:PairwiseMatching:Matching 1193675753 to 1194754135\n", |
273 | | - "INFO:PairwiseMatching:Matching 1193675753 to 1194754135: best registration was ['Crop', 'CLAHE', 'PhaseCorrelate']\n", |
274 | | - "INFO:NwayMatching:registration success(1) or failure (0):\n", |
275 | | - " 0 1\n", |
276 | | - "0 1 1\n", |
277 | | - "1 1 1\n", |
278 | | - "id map{\n", |
279 | | - " \"0\": 1193675753,\n", |
280 | | - " \"1\": 1194754135\n", |
281 | | - "}\n", |
282 | | - "INFO:NwayMatching:Nway matching is done!\n", |
283 | | - "INFO:NwayMatching:Creating match summary plots\n", |
284 | | - "WARNING:root:setting Dict fields not supported from argparse\n", |
285 | | - "c:\\Users\\carter.peene\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\argschema\\utils.py:346: FutureWarning: '--nway_output.nway_matches' is using old-style command-line syntax with each element as a separate argument. This will not be supported in argschema after 2.0. See http://argschema.readthedocs.io/en/master/user/intro.html#command-line-specification for details.\n", |
286 | | - " warnings.warn(warn_msg, FutureWarning)\n", |
287 | | - "WARNING:root:many=True not supported from argparse\n", |
288 | | - "INFO:NwayMatching:wrote matching_output\\nway_match_fraction_plot_2025_06_24_16_15_42.png\n", |
289 | | - "INFO:NwayMatching:wrote matching_output\\nway_warp_overlay_plot_2025_06_24_16_15_42.png\n", |
290 | | - "INFO:NwayMatching:wrote matching_output\\nway_warp_summary_plot_2025_06_24_16_15_42.png\n", |
291 | | - "INFO:NwayMatching:wrote ./output.json\n" |
292 | | - ] |
293 | | - } |
294 | | - ], |
| 262 | + "outputs": [], |
295 | 263 | "source": [ |
296 | | - "!python -m nway.nway_matching --input_json input.json --output_json \"./output.json\" --output_dir matching_output" |
| 264 | + "res = !python -m nway.nway_matching --input_json input.json --output_json \"./output.json\" --output_dir matching_output\n", |
| 265 | + "\n", |
| 266 | + "if not os.path.exists(\"output.json\"):\n", |
| 267 | + " raise RuntimeError(\"output.json was not created!\\nCommand output:\\n\" + \"\\n\".join(res))" |
297 | 268 | ] |
298 | 269 | }, |
299 | 270 | { |
|
364 | 335 | { |
365 | 336 | "data": { |
366 | 337 | "text/plain": [ |
367 | | - "<matplotlib.image.AxesImage at 0x1690c1a3280>" |
| 338 | + "<matplotlib.image.AxesImage at 0x1b146645640>" |
368 | 339 | ] |
369 | 340 | }, |
370 | 341 | "execution_count": 13, |
|
400 | 371 | { |
401 | 372 | "data": { |
402 | 373 | "text/plain": [ |
403 | | - "<matplotlib.image.AxesImage at 0x1690bdcc580>" |
| 374 | + "<matplotlib.image.AxesImage at 0x1b146632250>" |
404 | 375 | ] |
405 | 376 | }, |
406 | 377 | "execution_count": 14, |
|
0 commit comments