Skip to content

Commit

Permalink
platform not os.platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mb2055 committed Nov 7, 2023
1 parent 595d86b commit 0d73e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/somd2/runner/_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#####################################################################

__all__ = ["Dynamics"]
import os as _os
import platform as _platform
from pathlib import Path as _Path

from ..config import Config as _Config
Expand All @@ -29,7 +29,7 @@

from somd2 import _logger

if _os.platform == "win32":
if _platform == "win32":
lam_sym = "lambda"
else:
lam_sym = "λ"
Expand Down
4 changes: 2 additions & 2 deletions src/somd2/runner/_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

__all__ = ["Runner"]

import os as _os
import platform as _platform
from sire import stream as _stream
from sire.system import System as _System

Expand All @@ -31,7 +31,7 @@

from somd2 import _logger

if _os.platform == "win32":
if _platform == "win32":
lam_sym = "lambda"
else:
lam_sym = "λ"
Expand Down

0 comments on commit 0d73e87

Please sign in to comment.