Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve parsing parameters from RMG SA csv files #154

Merged
merged 4 commits into from
Jul 8, 2024
Merged

Improve parsing parameters from RMG SA csv files #154

merged 4 commits into from
Jul 8, 2024

Conversation

alongd
Copy link
Member

@alongd alongd commented Jun 15, 2024

Pulled all observable and parameter extraction code into two centralized functions in common. Improved the parameter extraction code to consider species names that themselves have square brackets.
Tests added

@@ -7,6 +7,7 @@
import itertools
import os
import pandas as pd
import re

Check notice

Code scanning / CodeQL

Unused import Note

Import of 're' is not used.
@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 8 lines in your changes missing coverage. Please review.

Project coverage is 46.99%. Comparing base (0a07454) to head (b525380).

Files Patch % Lines
t3/simulate/cantera_constantHP.py 20.00% 4 Missing ⚠️
t3/common.py 85.00% 1 Missing and 2 partials ⚠️
t3/main.py 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
+ Coverage   46.90%   46.99%   +0.08%     
==========================================
  Files          24       24              
  Lines        3317     3339      +22     
  Branches      890      896       +6     
==========================================
+ Hits         1556     1569      +13     
- Misses       1567     1571       +4     
- Partials      194      199       +5     
Flag Coverage Δ
unittests 46.99% <77.77%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alongd alongd merged commit 56a236c into main Jul 8, 2024
5 checks passed
@alongd alongd deleted the label_fix branch July 8, 2024 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants