We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f44113 commit dcdafabCopy full SHA for dcdafab
pypop/trace/prvtrace.py
@@ -60,6 +60,20 @@
60
class PRVTrace(Trace):
61
def _gather_metadata(self):
62
63
+ if ".sim." in self._tracefile:
64
+ warn(
65
+ "Filename {} suggests this trace has already been idealised. This will "
66
+ "likely cause the PyPOP analysis to fail!".format(self._tracefile)
67
+ )
68
+
69
+ if ".chop" in self._tracefile:
70
71
+ "Filename {} suggests this trace has been chopped before analysis. In "
72
+ "some cases this can cause Dimemas idealisation to fail. It is "
73
+ "recommended to use the trace chopping support built into PyPOP (see "
74
+ "the documentation for more details)".format(self._tracefile)
75
76
77
try:
78
with zipopen(self._tracefile, "rt") as fh:
79
headerline = fh.readline().strip()
0 commit comments