diff msnc_tools.py @ 6:baf9f5eef128 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 47f763393ddfbfa788158e789ed3814f45e0aeee"
author rv43
date Wed, 06 Apr 2022 19:48:22 +0000
parents f9c52762c32c
children 845270a96464
line wrap: on
line diff
--- a/msnc_tools.py	Wed Apr 06 19:20:30 2022 +0000
+++ b/msnc_tools.py	Wed Apr 06 19:48:22 2022 +0000
@@ -619,10 +619,11 @@
         if not os.path.isfile(config_file):
             logging.error(f'Unable to load {config_file}')
             return
+        print(f'\nLoading {config_file}\n')
 
         # Load config file
         self.suffix = os.path.splitext(config_file)[1]
-        if self.suffix == '.yml' or self.suffix == '.yaml':
+        if self.suffix == '.yml' or self.suffix == '.yaml' or self.suffix == '.dat':
             with open(config_file, 'r') as f:
                 self.config = yaml.safe_load(f)
         elif self.suffix == '.txt':