Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus G K Williams <Marcus G K Williams [email protected]>
  • Loading branch information
Marcus G K Williams authored and Marcus G K Williams committed Feb 28, 2024
1 parent 37569dc commit ec3189c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/lava/tutorials/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,14 @@ def _run_notebook(self, notebook: str, netx: bool = False, slayer: bool = False)
tutorials_directory = ""

if netx:
tutorials_temp_directory = tutorials_temp_directory + "lava/lib/dl/netx"
tutorials_temp_directory = tutorials_temp_directory
+ "lava/lib/dl/netx"
elif slayer:
tutorials_temp_directory = tutorials_temp_directory + "lava/lib/dl/slayer"
tutorials_temp_directory = tutorials_temp_directory
+ "lava/lib/dl/slayer"
else:
tutorials_temp_directory = tutorials_temp_directory + "lava/lib/dl/bootstrap/mnist"
tutorials_temp_directory = tutorials_temp_directory
+ "lava/lib/dl/bootstrap/mnist"

tutorials_directory = os.path.realpath(tutorials_temp_directory)
os.chdir(tutorials_directory)
Expand Down

0 comments on commit ec3189c

Please sign in to comment.