Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
Fix data overlap test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Jul 12, 2019
1 parent 3dbc28f commit ef0ab2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qgeologis/data_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def __build_data(self):
self.__y_values = y_values
else:
# look for overlap
if (current_data_range[0] <= data_range[0] <= current_data_range[1]) or \
(current_data_range[0] <= data_range[1] <= current_data_range[1]):
if (current_data_range[0] < data_range[0] < current_data_range[1]) or \
(current_data_range[0] < data_range[1] < current_data_range[1]):
print("Overlap in data around feature #{}".format(f.id()))
continue
if current_data_range[0] > data_range[1]:
Expand Down

0 comments on commit ef0ab2f

Please sign in to comment.