v0.2.6 (June 23, 2023)#
These are minor changes in v0.2.5 that shows fugs fixed.
Fix
watex.geology.databaseimplements Pythonimportlib.resourcespath to fix errors when passing from Window to Linux system to fetch the dababase memory properly.Fix Fix AttributeError of
cursfromwatex.geology.database.DBSettingrelate to determining the path to the database as:Trraceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/daniel/anaconda3/envs/watex-project/lib/python3.10 (...) _gammaVal = _dbObj._retreive_databasecolumns(properties) File "/home/daniel/anaconda3/envs/watex-project/lib/python3.10/site-packages/watex/geology/database.py", line 183, in _retreive_databasecolumns manage = self.manage_geoDataBase.curs.execute( AttributeError: 'DBSetting' object has no attribute 'curs'
Python importlib.resources is used instead.
Fix Memory management of
watex.geology.GeoStrataModelusesimportlib.resourcesto fix geo-memory path; likewise for the AGSO properties (watex.geology.core.get_agso_properties()) for collecting base geological structures from database.