Skip to content

Disable model.graph output by default#56

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/disable-model-graph
May 15, 2026
Merged

Disable model.graph output by default#56
Jammy2211 merged 1 commit into
mainfrom
feature/disable-model-graph

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Mirror the new model_graph flag from PyAutoFit PR #1264 in this workspace's config/output.yaml, defaulting to false. The library now gates the model.graph file behind should_output("model_graph"), but without an explicit entry here the workspace's default: true would still resolve to "write the file" — and the empty model.graph would keep being created for every non-graphical fit. Setting model_graph: false here makes the disable end-to-end for workspace users.

Scripts Changed

  • None — config-only change to config/output.yaml.

Upstream PR

PyAutoLabs/PyAutoFit#1264

Test Plan

  • Smoke tests pass.
  • Run a small fit and confirm model.graph is NOT created in the output folder.
  • model.info and metadata files are still produced as before.

🤖 Generated with Claude Code

Add `model_graph: false` to config/output.yaml to mirror the new
flag in autofit/config/output.yaml (PyAutoFit PR #1264). Without
this override the workspace's `default: true` falls through and the
empty `model.graph` file is still written for every fit. With
`model_graph: false` here, the file is no longer produced for
ordinary PriorModel/Collection fits. Graphical-model users can opt
in by setting it back to `true`.
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 14, 2026
@Jammy2211 Jammy2211 merged commit c37f873 into main May 15, 2026
5 checks passed
@Jammy2211 Jammy2211 deleted the feature/disable-model-graph branch May 15, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant