Skip to content

Commit 109cb56

Browse files
committed
mcnptools: removed mcnprun.py
1 parent d54dc1e commit 109cb56

2 files changed

Lines changed: 2 additions & 189 deletions

File tree

src/mcnptools/mcnprun.py

Lines changed: 0 additions & 187 deletions
This file was deleted.

src/pymcnp/cli/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def posthook_batch(self, path: pathlib.Path):
8686

8787
pass
8888

89-
def run(self, path: pathlib.Path):
89+
def run(self, path: str | pathlib.Path):
9090
"""
9191
Runs a file.
9292
@@ -95,7 +95,7 @@ def run(self, path: pathlib.Path):
9595
path: Directory for run.
9696
"""
9797

98-
directory = path / f'pymcnp-{_io.get_timestamp()}'
98+
directory = pathlib.Path(path) / f'pymcnp-{_io.get_timestamp()}'
9999
directory.mkdir()
100100

101101
self.prehook_batch(directory)

0 commit comments

Comments
 (0)