Skip to content

[BUG] Indexing error in physics.py #3042

@jonmaddock

Description

@jonmaddock

When writing output from physics.py, I get the following:

  File "/home/jon/code/process/process/physics.py", line 4234, in outplas
    f"Confinement scaling law: { physics_variables.tauscl[physics_variables.isc-1]}",
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

Could be a non-critical error from the conversion? It throws an exception when writing the output files. Found when running a STEP input file, but could well occur with anything e.g. large-tokamak.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions