Skip to content

Conversation

@Frankslu
Copy link

Previous calculation_base.py will iterate file and regex list to process all calculator with regex. However, when reach the second loop in for pm in self.parse_map, the file pointer won't move to head in for line in file. So it can only process the first calculator with regex. In this version we moved the iteration of the calculator to the iteration of the file, which can correctly process all calculator.

@Frankslu Frankslu changed the title gcpt-collection: previous can only process the first regex fix(gcpt-collection): previous can only process the first regex Nov 20, 2025
@Frankslu Frankslu changed the title fix(gcpt-collection): previous can only process the first regex fix(gcpt-collection): fix the bug that only process the first regex Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant