Skip to content

Commit

Permalink
Merge pull request #184 from changliao1025/development
Browse files Browse the repository at this point in the history
disable rtree if cython not ready
  • Loading branch information
changliao1025 committed Sep 28, 2023
2 parents d93ef41 + efeb08e commit f03fa3b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pyflowline/algorithms/index/define_stream_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ def define_stream_order(aFlowline_in, aConfluence_in):
"""
nFlowline = len(aFlowline_in)
nSegment = nFlowline
aFlowline_out = list()
iMethod = 1
aFlowline_out = list()
if iFlag_use_rtree == 1:
iMethod = 1
else:
iMethod = 2
pass

if nFlowline == 0 :
print ('data incomplete')
else:
Expand Down

0 comments on commit f03fa3b

Please sign in to comment.