We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9ef41e commit ebb75f2Copy full SHA for ebb75f2
2 files changed
bin/stimela
stimela/pathformatter.py
@@ -24,7 +24,7 @@ def __repr__(self):
24
25
26
class pathformatter:
27
- """
+ r"""
28
Wrapper for path variables that need further expansion
29
to include base directories
30
expect:
@@ -76,13 +76,3 @@ def __call__(self):
76
if len(args) != 0:
77
raise RuntimeError("could not replace all arguments")
78
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
86
- "input",
87
- )
88
- print(p())
0 commit comments