Skip to content

Commit

Permalink
Merge pull request #574 from SasView/573-changes-in-563-break-sasview…
Browse files Browse the repository at this point in the history
…-main

Disable name check
  • Loading branch information
butlerpd authored Aug 8, 2023
2 parents 3edd9e3 + b7cfdba commit 9a76105
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sasmodels/direct_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@ def get_mesh(model_info, values, dim='1d', mono=False):
values = values.copy()
mesh = [_pop_par_weights(p, values, active(p.name))
for p in parameters.call_parameters]
if values:
raise TypeError(f"Unused parameters in call: {', '.join(values.keys())}")

# TODO: This check has been removed because it currently prevents DirectModel from functioning correctly
# if values:
# raise TypeError(f"Unused parameters in call: {', '.join(values.keys())}")

return mesh


Expand Down

0 comments on commit 9a76105

Please sign in to comment.