Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I ran into problems using the NCBITaxa class.
Initiating the class always triggers a check if the current data base is not up to date. This causes other processes to throw sqlite errors when they want to access the database at the same time.
Therefore I added an option on initializing the class to not update the database. The default in this pull request still is that an automatic update is triggered, hence this pull request is down stream compatible. If any software relies on the automatic update on class initialization.
I changed the official documentation to clarify the way how the data base can be updated. And further added a few explanation on some option regarding the initialization of the class and a formatting error.
Currently I need some try and except statement to catch the sqlite errors in my own project. This could be avoided with this pull request.
If you find this helpful I would be glad if you merge it.
Thanks
John