appliedgrg / flm

Forest Line Mapper: Series of script tools for facilitating the high-resolution mapping and studying of forest lines via processing canopy height models.
GNU General Public License v3.0
5 stars 4 forks source link

time.clock() removed in Python 3.8 #24

Closed RichardQZeng closed 2 years ago

RichardQZeng commented 2 years ago

time.clock is deprecated from Python 3.3 and removed in Python 3.8. It is used in FLM_Common.py. time.clock can be replaced by time.perf_counter() or time.process_time().

RichardQZeng commented 2 years ago

This is resolved by replacing time.clock with time.perf_counter. #25