From 38bc932b9d3c16fe0a11bad0d61000b4bb235d09 Mon Sep 17 00:00:00 2001 From: Alexandre Girard Date: Tue, 22 Aug 2023 08:39:33 +0000 Subject: [PATCH] bug: uncommented parser cls option raise exception when starting joligen server --- options/predict_options.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/options/predict_options.py b/options/predict_options.py index f9942584f..bc9800e85 100644 --- a/options/predict_options.py +++ b/options/predict_options.py @@ -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 + # 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",