[med-svn] [Git][med-team/q2-feature-classifier][master] more robust vsearch.patch options removal

Étienne Mollier gitlab at salsa.debian.org
Wed Jan 27 21:38:18 GMT 2021



Étienne Mollier pushed to branch master at Debian Med / q2-feature-classifier


Commits:
f0611b3a by Étienne Mollier at 2021-01-27T22:37:48+01:00
more robust vsearch.patch options removal

- - - - -


1 changed file:

- debian/patches/vsearch.patch


Changes:

=====================================
debian/patches/vsearch.patch
=====================================
@@ -7,19 +7,15 @@ Last-Update: 2021-01-27
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- q2-feature-classifier.orig/q2_feature_classifier/_vsearch.py
 +++ q2-feature-classifier/q2_feature_classifier/_vsearch.py
-@@ -50,6 +50,15 @@
+@@ -50,6 +50,11 @@
             '--threads', str(threads)]
      if search_exact:
          cmd[1] = '--search_exact'
 +        # These options are not compatible with a --search_exact command.
-+        cmd.remove('--id')
-+        cmd.remove(str(perc_identity))
-+        cmd.remove('--maxaccepts')
-+        cmd.remove(str(maxaccepts))
-+        cmd.remove('--maxrejects')
-+        cmd.remove(str(maxrejects))
-+        cmd.remove('--query_cov')
-+        cmd.remove(str(query_cov))
++        for pop_arg in ['--id', '--maxaccepts', '--maxrejects', '--query_cov']:
++            pop_idx = cmd.index(pop_arg)
++            cmd.pop(pop_idx)
++            cmd.pop(pop_idx)
      if top_hits_only:
          cmd.append('--top_hits_only')
      if output_no_hits:



View it on GitLab: https://salsa.debian.org/med-team/q2-feature-classifier/-/commit/f0611b3a6f7bdcacf0cfac2932fdb491b463a2ed

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2-feature-classifier/-/commit/f0611b3a6f7bdcacf0cfac2932fdb491b463a2ed
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210127/26ef2b55/attachment-0001.html>


More information about the debian-med-commit mailing list