yu02019 / BEN

24 stars 4 forks source link

html report generation error #7

Closed grandjeanlab closed 4 months ago

grandjeanlab commented 4 months ago

when running BEN_infer, my masks are created seemingly alright, the report folder and images gets created, but not the html file. I get that error message. An error due to different pandas version?? I am on: pandas 0.23.4

Traceback (most recent call last): File "BEN/BEN_infer.py", line 49, in make_logs_to_html(log_folder=logs_folder) # HTML logs will be saved in this folder File "/project/4180000.41/ben/BEN/utils/check_html.py", line 69, in make_logs_to_html pd.set_option('display.max_colwidth', None) File "/home/traaffneu/joagra/.conda/envs/ben/lib/python3.6/site-packages/pandas/core/config.py", line 227, in call return self.func(*args, **kwds) File "/home/traaffneu/joagra/.conda/envs/ben/lib/python3.6/site-packages/pandas/core/config.py", line 123, in _set_option o.validator(v) File "/home/traaffneu/joagra/.conda/envs/ben/lib/python3.6/site-packages/pandas/core/config.py", line 764, in inner raise ValueError(msg.format(typ=_type)) ValueError: Value must have type '<class 'int'>'