[med-svn] [Git][med-team/bcalm][master] Do some key checks as pbuilder hook seemingly messes autopkgtest

Shayan Doust gitlab at salsa.debian.org
Wed Oct 2 15:37:19 BST 2019



Shayan Doust pushed to branch master at Debian Med / bcalm


Commits:
480104cf by Shayan Doust at 2019-10-01T15:01:29Z
Do some key checks as pbuilder hook seemingly messes autopkgtest

- - - - -


1 changed file:

- debian/missing-sources/compare_fasta.py


Changes:

=====================================
debian/missing-sources/compare_fasta.py
=====================================
@@ -7,8 +7,9 @@ fasta2 = sys.argv[2]
 
 revcomp = lambda x: ''.join([{'A':'T','C':'G','G':'C','T':'A'}[B] for B in x][::-1])
 def normalize(seq):
-    rev = revcomp(seq)
-    return min(rev,seq)
+    if seq == 'A' or seq == 'C' or seq == 'G' or seq == 'T':
+        rev = revcomp(seq)
+        return min(rev,seq)
 
 def read_seqs(fasta):
     seqs = set()



View it on GitLab: https://salsa.debian.org/med-team/bcalm/commit/480104cfeb35828b02cf1a6786dea857d1544cf3

-- 
View it on GitLab: https://salsa.debian.org/med-team/bcalm/commit/480104cfeb35828b02cf1a6786dea857d1544cf3
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/20191002/757aa65a/attachment.html>


More information about the debian-med-commit mailing list