[yt-svn] commit/yt: sskory: Following up with a few more fixes for the fortan kdtree imports.
Bitbucket
commits-noreply at bitbucket.org
Mon Oct 15 08:54:47 PDT 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/c99d297e4a4b/
changeset: c99d297e4a4b
branch: yt
user: sskory
date: 2012-10-15 17:50:00
summary: Following up with a few more fixes for the fortan kdtree imports.
affected #: 3 files
diff -r d597f384f7907b57a8bf99a7b1033fbc78ffb7a7 -r c99d297e4a4b14ca3e278c13b147f32af612cf0b yt/analysis_modules/halo_finding/parallel_hop/parallel_hop_interface.py
--- a/yt/analysis_modules/halo_finding/parallel_hop/parallel_hop_interface.py
+++ b/yt/analysis_modules/halo_finding/parallel_hop/parallel_hop_interface.py
@@ -31,7 +31,7 @@
from yt.funcs import *
from yt.utilities.performance_counters import yt_counters, time_function
try:
- from yt.utilities.kdtree import \
+ from yt.utilities.kdtree.api import \
chainHOP_tags_dens, \
create_tree, fKD, find_nn_nearest_neighbors, \
free_tree, find_chunk_nearest_neighbors
diff -r d597f384f7907b57a8bf99a7b1033fbc78ffb7a7 -r c99d297e4a4b14ca3e278c13b147f32af612cf0b yt/analysis_modules/two_point_functions/two_point_functions.py
--- a/yt/analysis_modules/two_point_functions/two_point_functions.py
+++ b/yt/analysis_modules/two_point_functions/two_point_functions.py
@@ -30,7 +30,7 @@
from yt.utilities.parallel_tools.parallel_analysis_interface import ParallelAnalysisInterface, parallel_blocking_call, parallel_root_only
try:
- from yt.utilities.kdtree import *
+ from yt.utilities.kdtree.api import *
except ImportError:
mylog.debug("The Fortran kD-Tree did not import correctly.")
diff -r d597f384f7907b57a8bf99a7b1033fbc78ffb7a7 -r c99d297e4a4b14ca3e278c13b147f32af612cf0b yt/utilities/tests/test_kdtrees.py
--- a/yt/utilities/tests/test_kdtrees.py
+++ b/yt/utilities/tests/test_kdtrees.py
@@ -26,10 +26,7 @@
from yt.testing import *
try:
- from yt.utilities.kdtree import \
- chainHOP_tags_dens, \
- create_tree, fKD, find_nn_nearest_neighbors, \
- free_tree, find_chunk_nearest_neighbors
+ from yt.utilities.kdtree.api import *
except ImportError:
mylog.debug("The Fortran kD-Tree did not import correctly.")
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list