From b4ec33ce32184e17628ef4498d9ef2687b19ea01 Mon Sep 17 00:00:00 2001 From: Peter Heuer Date: Wed, 22 Mar 2023 11:39:09 -0400 Subject: [PATCH] Create cuts_with_cli.py --- examples/cuts_with_cli.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/cuts_with_cli.py diff --git a/examples/cuts_with_cli.py b/examples/cuts_with_cli.py new file mode 100644 index 0000000..1068c1d --- /dev/null +++ b/examples/cuts_with_cli.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +""" +Created on Wed Mar 22 11:36:27 2023 + +@author: pheu +""" + +from pathlib import Path + +from cr39py.scan import Scan +cpsa_path = Path("C:\\", "Users", "pheu", "Data", "data_dir", "105350", "o105350-Ernie-PR3236-2hr_40x_s0.cpsa") + +scan = Scan.from_cpsa(cpsa_path) + +# Launch the command line interface for making cuts +scan.cli() \ No newline at end of file