Skip to content

Commit ebb75f2

Browse files
committed
make pathformetter docstring raw, and remove test main function
1 parent f9ef41e commit ebb75f2

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

bin/stimela

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

stimela/pathformatter.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __repr__(self):
2424

2525

2626
class pathformatter:
27-
"""
27+
r"""
2828
Wrapper for path variables that need further expansion
2929
to include base directories
3030
expect:
@@ -76,13 +76,3 @@ def __call__(self):
7676
if len(args) != 0:
7777
raise RuntimeError("could not replace all arguments")
7878
return expr_list
79-
80-
81-
if __name__ == "__main__":
82-
p = pathformatter(
83-
"MODEL_DATA+-{}/bla\{ab\}.DicoModel@{}/poly.reg:{}/abc.lsm",
84-
"output",
85-
"output",
86-
"input",
87-
)
88-
print(p())

0 commit comments

Comments
 (0)