Skip to content

Commit

Permalink
Fix value restriction generation (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuchenb committed Jun 19, 2023
1 parent 4756f93 commit 3cf25cd
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ def __init__(
self.schema = schema
self.wb_classes = wb_classes
self.range = slot_def.range if slot_def.range else "string"
self.cls_name = str(range) if range in schema.all_classes() else None
self.enum_name = str(range) if range in schema.all_enums() else None
self.type_name = str(range) if range in schema.all_types() else None
self.cls_name = str(self.range) if self.range in schema.all_classes() else None
self.enum_name = str(self.range) if self.range in schema.all_enums() else None
self.type_name = str(self.range) if self.range in schema.all_types() else None


def _make_value_cell(ws, fill_content):
Expand Down
Binary file modified spreadsheets/ghga_submission_full.xlsx
Binary file not shown.
Binary file modified spreadsheets/ghga_submission_individual.xlsx
Binary file not shown.
Binary file modified spreadsheets/ghga_submission_minimal.xlsx
Binary file not shown.
Binary file modified spreadsheets/ghga_submission_sample.xlsx
Binary file not shown.
Binary file modified spreadsheets/ghga_submission_seq.xlsx
Binary file not shown.

0 comments on commit 3cf25cd

Please sign in to comment.