Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
70328b0f
Unverified
Commit
70328b0f
authored
Nov 30, 2024
by
Antoine Kaufmann
Browse files
symphony/cli: fix load module import
parent
f3f26c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
symphony/cli/simbricks/cli/commands/runs.py
symphony/cli/simbricks/cli/commands/runs.py
+2
-2
No files found.
symphony/cli/simbricks/cli/commands/runs.py
View file @
70328b0f
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
import
asyncio
import
asyncio
from
pathlib
import
Path
from
pathlib
import
Path
import
simbricks.utils
import
simbricks.utils
.load_mod
as
load_mod
from
typer
import
Typer
,
Argument
,
Option
from
typer
import
Typer
,
Argument
,
Option
from
typing_extensions
import
Annotated
from
typing_extensions
import
Annotated
from
..state
import
state
from
..state
import
state
...
@@ -94,7 +94,7 @@ async def submit_script(
...
@@ -94,7 +94,7 @@ async def submit_script(
system_client
=
state
.
simbricks_client
()
system_client
=
state
.
simbricks_client
()
experiment_mod
=
simbricks
.
utils
.
load_module
(
module_path
=
path
)
experiment_mod
=
load_mod
.
load_module
(
module_path
=
path
)
instantiations
=
experiment_mod
.
instantiations
instantiations
=
experiment_mod
.
instantiations
sb_inst
=
instantiations
[
0
]
sb_inst
=
instantiations
[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment