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

Try to fix bug with filter assignment #155

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Try to fix bug with filter assignment #155

merged 1 commit into from
Aug 11, 2023

Conversation

kkappler
Copy link
Collaborator

@kkappler kkappler commented Aug 6, 2023

The method _add_filter_number() was issuing redundant numbers when encountering multiple new, nameless filters. I tried to fixed this and created a branch (fix_issue_151)

Also, note that if the filter has_a name, we do not assess whether or not it is new, ... is this OK?? I think so, because if it has_a name, it will be registered in ch_filter_dict which is returned by _xml_response_to_mt and then merged into the survey before the next channel is processed.

Relates to issue #151

The method _add_filter_number() was issuing redundant numbers when encountering multiple new, nameless filters.
I tried to fixed this and created a branch (fix_issue_151)

Also, note that if the filter has_a name, we do not assess whether or not it is new, ... is this OK??
I think so, because if it has_a name, it will be registered in ch_filter_dict which is returned by _xml_response_to_mt and then merged into the survey before the next channel is processed.

Relates to issue #151
@kkappler kkappler requested a review from kujaku11 August 6, 2023 17:50
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9d64ee9) 81.74% compared to head (cb4c177) 81.74%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##              fcs     #155   +/-   ##
=======================================
  Coverage   81.74%   81.74%           
=======================================
  Files         264      264           
  Lines       18329    18331    +2     
=======================================
+ Hits        14983    14985    +2     
  Misses       3346     3346           
Files Changed Coverage Δ
...ta/timeseries/stationxml/xml_channel_mt_channel.py 77.04% <100.00%> (+0.18%) ⬆️

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

@kkappler kkappler merged commit ae462a0 into fcs Aug 11, 2023
@kkappler kkappler deleted the fix_issue_151 branch August 11, 2023 18:18
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.

2 participants