diff --git a/PyNutil/main.py b/PyNutil/main.py index 0179f90dd149236b5da4d0f9215e4e001d10b9c2..33927b6880488125288dcf346128197dcf0b832c 100644 --- a/PyNutil/main.py +++ b/PyNutil/main.py @@ -44,8 +44,6 @@ class PyNutil: self.colour = colour self.atlas = volume_path # load the metadata json as well as the path to stored data files - - def build_quantifier(self): # this could potentially be moved into init atlas_root_path = self.config["annotation_volume_directory"] current_atlas_path = self.config["annotation_volumes"][self.atlas]["volume"] @@ -59,6 +57,7 @@ class PyNutil: self.atlas_labels = pd.read_csv(atlas_root_path + atlas_label_path) print("atlas labels loaded ✅") + def get_coordinates(self, nonLinear=True, method="all"): if not hasattr(self, "atlas_volume"): raise ValueError( diff --git a/testOOP.py b/testOOP.py index 7f415c7c8f36162d765b7da0af29036dbe272b43..617dcf7c6cc809fc4beab7192dce593735a9604f 100644 --- a/testOOP.py +++ b/testOOP.py @@ -1,7 +1,7 @@ from PyNutil import PyNutil pnt = PyNutil(settings_file=r"test/test4_2017.json") -pnt.build_quantifier() +# pnt.build_quantifier() pnt.get_coordinates()