Skip to content

Commit

Permalink
add pound symbols to header
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvb committed Aug 13, 2018
1 parent cf8b5bf commit 42187e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion figurefirst/regenerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def write_to_csv(data_filename, figure, panel_id_to_layout_keys=None, header='')

# write header
__write_break__(file)
figurefirst_header = 'This file was automatically generated from source data using FigureFirst: http://flyranch.github.io/figurefirst/'
figurefirst_header = '##### This file was automatically generated from source data using FigureFirst: http://flyranch.github.io/figurefirst/'
file.writelines(header+'\n'+figurefirst_header+'\n')

__write_break__(file)
Expand All @@ -309,6 +309,11 @@ def write_to_csv(data_filename, figure, panel_id_to_layout_keys=None, header='')

file.close()

def list_layout_keys(data_filename):
data = load_data_file(data_filename)
for key in data.keys():
print(key)

if __name__ == '__main__':
parser = OptionParser()
parser.add_option("--layout", type="str", dest="layout", default='',
Expand Down

0 comments on commit 42187e7

Please sign in to comment.