I just found that using is instead of == causes problem when using restart_folder.
I picked line 79 from IPCS_ABCN.py as an example but the same goes to some other lines in IPCS_ABCN.py.
NT = None if nn_model is "NoModel" else NNsource( nunn_, u_ab, V, name='NTd’)
should be
NT = None if nn_model == "NoModel" else NNsource( nunn_, u_ab, V, name='NTd’)
As for the les_model, == is used and does not cause any problem, so I think nn_model should follow the same syntax.
I can fix all the lines and submit PR if you agree with me !
Hi @mikaem ,
I just found that using
is
instead of==
causes problem when usingrestart_folder
. I picked line 79 fromIPCS_ABCN.py
as an example but the same goes to some other lines inIPCS_ABCN.py
.should be
As for the
les_model
,==
is used and does not cause any problem, so I thinknn_model
should follow the same syntax.I can fix all the lines and submit PR if you agree with me !
Best, Kei