'DataProvidersManager' object has no attribute 'clearFilters'
Hello !
I'm using the Orekit Python wrapper with Orekit 11.1. I have in my own Python script file :
import orekit
from orekit.pyhelpers import setup_orekit_curdir
setup_orekit_curdir()
(my orekit-data.zip is located in the same directory than the Python script)
and I finally get an error :
DM.clearFilters()
AttributeError: 'DataProvidersManager' object has no attribute 'clearFilters'
I decided to check the Orekit documentation at https://www.orekit.org/static/apidocs/org/orekit/data/DataProvidersManager.html and I didn't found a Java method clearFilters() for a DataProvidersManager object. In the pyhelpers.py file, at the end of the setup_orekit_curdir() function we have :
DM.clearProviders()
DM.clearLoadedDataNames()
DM.clearFilters()
DM.addProvider(crawler)
I decided to comment the DM.clearFilters() line, and it worked like a charm... Any idea why the DM.clearFilters() line is still there in the pyhelpers.py file ? Or any idea of why I get the AttributeError ?
Thank you very much.