Skip to content
Snippets Groups Projects
Commit d536846a authored by POLCHER Jan's avatar POLCHER Jan :bicyclist_tone4:
Browse files

Remove a tolerence of older Python3 versions

parent c54f4d71
No related merge requests found
......@@ -79,7 +79,10 @@ class HydroOverlap :
#
def __init__(self, nbpt, nbvmax, sub_pts, sub_index_in, sub_area_in, sub_lon_in, sub_lat_in, sub_hdom_in, part, modelgrid, hydrodata) :
#
print("np.shape(sub_hdom_in)", np.shape(sub_hdom_in))
if isinstance(sub_hdom_in, list) :
print("len(sub_hdom_in)", len(sub_hdom_in))
else :
print("np.shape(sub_hdom_in)", np.shape(sub_hdom_in))
#
# Reshape stuff so that it fits into arrays
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment