Skip to content

Commit

Permalink
value_set_names is None rather than () (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd authored Mar 11, 2024
1 parent 5f768ff commit c1257a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/oaklib/utilities/subsets/value_set_expander.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def expand(config: str, schema: str, value_set_names: List[str], output: str):
vskit expand -c config.yaml -s schema.yaml -o expanded.yaml my_value_set1 my_value_set2
"""
value_set_names = None if not value_set_names else value_set_names
expander = ValueSetExpander()
if config:
expander.configuration = yaml_loader.load(config, target_class=ValueSetConfiguration)
Expand Down

0 comments on commit c1257a8

Please sign in to comment.