Skip to content

Bugfix for InferencerPlotter in 1D#172

Closed
jsilter wants to merge 1 commit intoNVIDIA:mainfrom
jsilter:inferencer_plotter_1d_bugfix
Closed

Bugfix for InferencerPlotter in 1D#172
jsilter wants to merge 1 commit intoNVIDIA:mainfrom
jsilter:inferencer_plotter_1d_bugfix

Conversation

@jsilter
Copy link
Copy Markdown

@jsilter jsilter commented Jul 28, 2024

outvar is a dict so need to select the appropriate key.

Modulus Pull Request

Description

Currently InferencerPlotter doesn't function for 1D data. It throws an error because the outvar dictionary is missing a key lookup and tries to index the data array, which obviously doesn't work. This PR corrects that issue.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

No dependencies

`outvar` is a dict so need to select the appropriate key.

Signed-off-by: Jacob Silterra <github@jacobsilterra.com>
Copy link
Copy Markdown
Collaborator

@ktangsali ktangsali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks

ktangsali added a commit to ktangsali/physicsnemo-sym that referenced this pull request Feb 11, 2026
@ktangsali ktangsali mentioned this pull request Feb 11, 2026
5 tasks
@ktangsali
Copy link
Copy Markdown
Collaborator

Since Modulus has been renamed to PhysicsNeMo, merging this PR will cause a lot of conflicts and rebasing it is not simple. As a workaround, I have pulled in the changes from this PR in #281

Thank you for your contribution!

@ktangsali ktangsali closed this Feb 11, 2026
ktangsali added a commit that referenced this pull request Feb 11, 2026
* add fix from #215

* add fix from #185

* add fix from #172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants