Skip to content

Commit

Permalink
Support Lev selection in local simulations
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Oct 9, 2024
1 parent b8944ca commit 0476441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sxs/simulations/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def Simulation(location, *args, **kwargs):
# Extract the simulation ID, version, and Lev from the location string
simulation_id, input_version = sxs_id_and_version(location)
if not simulation_id:
if location in simulations:
if location.split("/Lev")[0] in simulations:
simulation_id = location.split("/Lev")[0]
input_version = "v0.0"
else:
Expand Down

0 comments on commit 0476441

Please sign in to comment.