Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ppcomp/ppcomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def load(self, filename):
if not filename.lower().endswith('.txt'):
raise SyntaxError("Not a text file: " + filename)
super().load(filename)
self.from_pgdp_rounds = self.basename.startswith('projectID')

def strip_pg_boilerplate(self):
"""Remove the PG header and footer from the text if present."""
Expand Down