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

Change struct_id and struct_name to optional #795

Merged
merged 12 commits into from
Feb 13, 2024
Merged

Change struct_id and struct_name to optional #795

merged 12 commits into from
Feb 13, 2024

Conversation

filimarc
Copy link
Contributor

@filimarc filimarc commented Jan 9, 2024

Changed AllenStructure attributes to optional

List which issues this resolves:

closes #772

Tasks

  • Added tests
  • Updated documentation

@filimarc filimarc marked this pull request as ready for review January 9, 2024 12:09
@Helveg
Copy link
Contributor

Helveg commented Jan 9, 2024

Add tests

Copy link
Contributor

@Helveg Helveg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In unit testing it's important to add assertions. It's also important to cover all the supported cases.

tests/test_configuration.py Outdated Show resolved Hide resolved
tests/test_topology.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Helveg Helveg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 1 last note

tests/test_configuration.py Outdated Show resolved Hide resolved
@filimarc filimarc requested a review from Helveg January 12, 2024 11:00
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b04d5e4) 83.71% compared to head (1945559) 83.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #795      +/-   ##
==========================================
+ Coverage   83.71%   83.81%   +0.10%     
==========================================
  Files         105      105              
  Lines       12940    12977      +37     
==========================================
+ Hits        10833    10877      +44     
+ Misses       2107     2100       -7     

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

@filimarc
Copy link
Contributor Author

I think all the changes are done, i do not see any pending action here.

@Helveg Helveg merged commit 3ff5268 into main Feb 13, 2024
13 checks passed
@Helveg Helveg deleted the partition-struct branch February 13, 2024 08:17
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.

Let struct_name and struct_id be optional
2 participants