diff --git a/GUI/gui.cfg b/GUI/gui.cfg index 3ce4882..97c7235 100644 --- a/GUI/gui.cfg +++ b/GUI/gui.cfg @@ -9,5 +9,5 @@ AlwaysParameters = Zero, Name # What filetype the output will be saved in # If just one, will be used without the possibility of selecting another -OutputTypes = jsonlines -#, json, csv, xml +OutputTypes = csv +#jsonlines, json, csv, xml diff --git a/GUI/gui.py b/GUI/gui.py index 726b8de..d7ee291 100644 --- a/GUI/gui.py +++ b/GUI/gui.py @@ -159,7 +159,7 @@ class GUI(): print self.values if self.values.get('all_attributes'): - attributes = "" + attributes = ".*" else: attribute_types = ['attributes', 'Common attributes', 'Always attributes'] attributes = ','.join([str(self.values.get(attribute)) for attribute in attribute_types]) @@ -171,13 +171,14 @@ class GUI(): '--format': self.values.get('output_type'), '--help': False, '--include': None, - '--log': None, - '--output': 'result.*format*', - '--verbose': False, + '--log': 'log.txt', + '--output': 'results.*format*', + '--verbose': True, '--version': False, '': self.values.get('substance'), 'list': False, 'search': True} + source_loader = SourceLoader() search(arguments, source_loader)