You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
The problem is in lib/qiime/pycogent_backports/rdp_classifier.py: when you rmtree(training_dir) in train_rdp_classifier_and_assign_taxonomy, some of the file handles in training_dir haven't been released by training_results. You can delete training_results to free up the file handles and rmtree would work.
i.e.
if model_output_dir is None:
del training_results
rmtree(training_dir)
The text was updated successfully, but these errors were encountered:
I saw this on Friday and am still in shock at receiving such a helpful
forum post! We should try to recruit this guy.
I will check over the code and add the fix if everything checks out.
However, I was never able to reproduce the original problem in tests, so I
will not be completely sure that it fixes the problem until I hear back
from our users.
David Soong suggested a fix for the issue where the temporary directory can't be removed when using
assign_taxonomy.py -m rdp
.From this QIIME forum post:
The problem is in
lib/qiime/pycogent_backports/rdp_classifier.py
: when yourmtree(training_dir)
intrain_rdp_classifier_and_assign_taxonomy
, some of the file handles intraining_dir
haven't been released bytraining_results
. You can deletetraining_results
to free up the file handles andrmtree
would work.i.e.
The text was updated successfully, but these errors were encountered: