Skip to content

Commit

Permalink
Fix more names that snuck in from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
torrinba committed Jan 7, 2025
1 parent 43f98de commit 8b797a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omas/machine_mappings/d3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,8 +1379,8 @@ def equilibrium_special(ods, pulse, EFIT_tree="EFIT", get_all=True):
from omfit_classes.omfit_eqdsk import from_mds_plus, OMFITkeqdsk
times = mdsvalue('d3d', treename=EFIT_tree, pulse=pulse, TDI="\\TOP.RESULTS.GEQDSK.GTIME").raw()
if times is None:
print("No mds+ data")
raise ValueError(f"Could not find any data in MDS+ for {pulse} and {EFIT_tree}")
print("No MDSplus data")
raise ValueError(f"Could not find any data in MDSplus for {pulse} and {EFIT_tree}")
ods["equilibrium.ids_properties.homogeneous_time"] = 1
ods["equilibrium.time"]= times / 1.e3
if get_all == False:
Expand Down

0 comments on commit 8b797a9

Please sign in to comment.