Andreas Tille pushed to branch upstream at Debian Med / cat-bat


Commits:
c4dd24ad by Andreas Tille at 2020-05-27T13:26:43+02:00
New upstream version 5.0.5
- - - - -


4 changed files:

- CAT_pack/about.py
- CAT_pack/bins.py
- CAT_pack/check.py
- CHANGELOG.md


Changes:

=====================================
CAT_pack/about.py
=====================================
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
 
 __author__ = 'F. A. Bastiaan von Meijenfeldt'
-__version__ = '5.0.4'
-__date__ = 'March 18, 2020'
+__version__ = '5.0.5'
+__date__ = 'May 26, 2020'


=====================================
CAT_pack/bins.py
=====================================
@@ -236,6 +236,10 @@ def import_bins(bin_folder,
     contig_names = set()
 
     for file_ in os.listdir(bin_folder):
+        if file_.startswith('.'):
+            # Skip hidden files.
+            continue
+
         if not file_.endswith(bin_suffix):
             continue
         


=====================================
CAT_pack/check.py
=====================================
@@ -232,6 +232,10 @@ def check_bin_folder(bin_folder, bin_suffix, log_file, 
quiet):
     
     tmp = []
     for file_ in os.listdir(bin_folder):
+        if file_.startswith('.'):
+            # Skip hidden files.
+            continue
+
         if not file_.endswith(bin_suffix):
             continue
 


=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,8 @@
 # Changelog
 
+## 5.0.5.
+Skip hidden files in bin folder.
+
 ## 5.0.4.
 We have added the `--no_stars` flag alongside a minor bug fix.
 



View it on GitLab: 
https://salsa.debian.org/med-team/cat-bat/-/commit/c4dd24add4b76ad6038a8619d82f7f49f76e66dd

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/cat-bat/-/commit/c4dd24add4b76ad6038a8619d82f7f49f76e66dd
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to