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 2c096b7 commit 7dde356Copy full SHA for 7dde356
pypop/trace/prvtrace.py
@@ -59,6 +59,20 @@
59
class PRVTrace(Trace):
60
def _gather_metadata(self):
61
62
+ if ".sim." in self._tracefile:
63
+ warn(
64
+ "Filename {} suggests this trace has already been idealised. This will "
65
+ "likely cause the PyPOP analysis to fail!".format(self._tracefile)
66
+ )
67
+
68
+ if ".chop" in self._tracefile:
69
70
+ "Filename {} suggests this trace has been chopped before analysis. In "
71
+ "some cases this can cause Dimemas idealisation to fail. It is "
72
+ "recommended to use the trace chopping support built into PyPOP (see "
73
+ "the documentation for more details)".format(self._tracefile)
74
75
76
try:
77
with zipopen(self._tracefile, "rt") as fh:
78
headerline = fh.readline().strip()
0 commit comments