comparison starting_modules.py @ 5:670975e92458 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 7d7a519c3a2cc612d38695b335d0f6c75a099de3"
author bgruening
date Fri, 26 Feb 2021 14:09:20 +0000
parents e7273daa5ae2
children 6070780813d9
comparison
equal deleted inserted replaced
4:e7273daa5ae2 5:670975e92458
9 9
10 10
11 def write_images(): 11 def write_images():
12 filter_images = params['images']['filter_images'] 12 filter_images = params['images']['filter_images']
13 13
14 _str = "\nImages:[module_num:1|svn_version:\\'Unknown\\'|variable_revision_number:2|show_window:False|notes:\\x5B\\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n" 14 _str = "\nImages:[module_num:1|svn_version:\\'Unknown\\'|variable_revision_number:2|show_window:False|notes:\\x5B\\'To begin creating your project, use the Images module to compile a list of files and/or folders that you want to analyze. You can also specify a set of rules to include only the desired files in your selected folders.\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n"
15 _str += FOURSPACES + ":\n" 15 _str += FOURSPACES + ":\n"
16 _str += FOURSPACES + "Filter images?:%s\n" % filter_images 16 _str += FOURSPACES + "Filter images?:%s\n" % filter_images
17 _str += FOURSPACES + "Select the rule criteria:and (extension does isimage) (directory doesnot startwith \".\")\n" 17 _str += FOURSPACES + "Select the rule criteria:and (extension does isimage) (directory doesnot startwith \".\")\n"
18 18
19 return _str 19 return _str
26 if 'extraction_method' in metadata_extraction: 26 if 'extraction_method' in metadata_extraction:
27 method_count = len(metadata_extraction['extraction_method']) 27 method_count = len(metadata_extraction['extraction_method'])
28 else: 28 else:
29 method_count = 1 29 method_count = 1
30 30
31 _str = "\nMetadata:[module_num:2|svn_version:\\'Unknown\\'|variable_revision_number:4|show_window:False|notes:\\x5B\\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\\'\x5D|batch_state:array(\x5B\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n" 31 _str = "\nMetadata:[module_num:2|svn_version:\\'Unknown\\'|variable_revision_number:4|show_window:False|notes:\\x5B\\'The Metadata module optionally allows you to extract information describing your images (i.e, metadata) which will be stored along with your measurements. This information can be contained in the file name and/or location, or in an external file.\\'\\x5D|batch_state:array(\\x5B\\x5D, dtype=uint8)|enabled:True|wants_pause:False]\n"
32 _str += FOURSPACES + "Extract metadata?:%s\n" % extract 32 _str += FOURSPACES + "Extract metadata?:%s\n" % extract
33 33
34 if extract == "No": 34 if extract == "No":
35 _str += FOURSPACES + "Metadata data type:Text\n" 35 _str += FOURSPACES + "Metadata data type:Text\n"
36 _str += FOURSPACES + "Metadata types:{}\n" 36 _str += FOURSPACES + "Metadata types:{}\n"