Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
add formats chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Sep 3, 2019
1 parent c295be5 commit a9759cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isogeotoxlsx/isogeo2xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,12 @@ def store_md_generic(self, md: Metadata, ws: Worksheet, idx: int):
ws["{}{}".format(col.get("format").letter, idx)] = "{0} ({1} - {2})".format(
format_lbl, md.formatVersion, md.encoding
)
self.stats.data_formats.append(format_lbl)
elif md.format:
ws["{}{}".format(col.get("format").letter, idx)] = "{0} {1}".format(
md.format, md.formatVersion
)
self.stats.data_formats.append(md.format)
else:
pass

Expand Down Expand Up @@ -627,6 +629,7 @@ def launch_analisis(self):

if hasattr(self, "ws_d"):
self.stats.metadata_types(self.ws_d)
self.stats.source_formats(self.ws_d)
logger.info("Dashboard sheet has been added.")

# ------------ Customize worksheet ----------------------------------------
Expand Down

0 comments on commit a9759cd

Please sign in to comment.