Show More
@@ -51,9 +51,9 b' class ExtractOutputTransformer(Transformer):' | |||||
51 | """ |
|
51 | """ | |
52 |
|
52 | |||
53 | #Get the unique key from the resource dict if it exists. If it does not |
|
53 | #Get the unique key from the resource dict if it exists. If it does not | |
54 |
#exist, use ' |
|
54 | #exist, use 'output' as the default. Also, get files directory if it | |
55 | #has been specified |
|
55 | #has been specified | |
56 |
unique_key = resources.get('unique_key', ' |
|
56 | unique_key = resources.get('unique_key', 'output') | |
57 | output_files_dir = resources.get('output_files_dir', None) |
|
57 | output_files_dir = resources.get('output_files_dir', None) | |
58 |
|
58 | |||
59 | #Make sure outputs key exists |
|
59 | #Make sure outputs key exists | |
@@ -79,7 +79,7 b' class ExtractOutputTransformer(Transformer):' | |||||
79 | else: |
|
79 | else: | |
80 | data = data.encode("UTF-8") |
|
80 | data = data.encode("UTF-8") | |
81 |
|
81 | |||
82 |
#Build a |
|
82 | #Build a output name | |
83 | filename = self.figure_filename_template.format( |
|
83 | filename = self.figure_filename_template.format( | |
84 | unique_key=unique_key, |
|
84 | unique_key=unique_key, | |
85 | cell_index=cell_index, |
|
85 | cell_index=cell_index, |
General Comments 0
You need to be logged in to leave comments.
Login now