Closed elenamanao closed 6 months ago
You need to create the ParameterGrid instance yourself and return that. You cannot just set the grid variable, which will be overwritten again later. Also don't use the print statement. If you want to print out a info message, then you need to use a logger
OK now the unit tests fails, because it actually tests for the ValueError that is not there anymore. So you need to remove that unittest. But it would be great to add a unit test for this case of fixed parameters.
Great! Now the print statement still needs to go ;)
Added new grid definition in the Parameters class for the case in which the gamma parameter is fixed