Skip to content

Commit

Permalink
Merge pull request #540 from jvirtanen/cleanups/generate
Browse files Browse the repository at this point in the history
philadelphia-generate: Clean up code
  • Loading branch information
jvirtanen authored Dec 23, 2024
2 parents a86c1fa + ca1dc98 commit c102d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/generate/philadelphia/orchestra.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _group_fields_by_type(fields: list[_Field]) -> dict[str, list[_Field]]:


def _has_values(code_set: _CodeSet) -> bool:
return not code_set.id_ in _NO_VALUES and not code_set.type_ == 'Boolean'
return code_set.id_ not in _NO_VALUES and not code_set.type_ == 'Boolean'


def _sorted_codes(codes: list[_Code]) -> list[_Code]:
Expand Down

0 comments on commit c102d8d

Please sign in to comment.