Skip to content

Commit

Permalink
MZ 20240403 update bug constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
ziast committed Apr 3, 2024
1 parent cc65ba3 commit 5ad3409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bdarpack/Constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def multiparent_conditions(self, df, var_array, dict_conditions_values, options=

# Create log
for var in var_array:
mismatch_str = ','.join(mismatch_dict[var])
# mismatch_str = ','.join(mismatch_dict[var])
mismatch_str = ','.join(str(item) for item in mismatch_dict[var])
msg = f"Replaced {var} using conditions and values given in dict_conditions_values."
self.log[var]['multiparent_conditions'] = {
"msg": msg,
Expand Down

0 comments on commit 5ad3409

Please sign in to comment.