Skip to content

Commit

Permalink
bug: uncommented parser cls option raise exception when starting joli…
Browse files Browse the repository at this point in the history
…gen server
  • Loading branch information
alx committed Aug 22, 2023
1 parent 373c223 commit 38bc932
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions options/predict_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ def initialize(self, parser):
help="eta parameter for ddim variance",
)

# TODO: raise exception when running server
# File "/home/alx/code/alx/joliGEN/server/joligen_api.py", line 91, in <module>
# PredictBodySchema["properties"]["predict_options"] = PredictOptions().get_schema()
# File "/home/alx/code/alx/joliGEN/options/base_options.py", line 1261, in get_schema
# json_vals = self.to_json()
# File "/home/alx/code/alx/joliGEN/options/base_options.py", line 965, in to_json
# parent[path[-1]] = v
# TypeError: 'bool' object does not support item assignment
parser.add_argument(
"--cls",
action="store_false",
Expand Down

0 comments on commit 38bc932

Please sign in to comment.