Skip to content

#4683 Improve labels for SRU polymer S-groups#5135

Draft
leb2 wants to merge 3 commits intoepam:masterfrom
leb2:4683-improve-sru-labels
Draft

#4683 Improve labels for SRU polymer S-groups#5135
leb2 wants to merge 3 commits intoepam:masterfrom
leb2:4683-improve-sru-labels

Conversation

@leb2
Copy link
Copy Markdown

@leb2 leb2 commented Jul 18, 2024

How the feature works? / How did you fix the issue?

Issue: #4683

Currently, the if you have an SRU polymer, with repeat pattern "Head-to-tail", it doesn't display the repeat pattern next to the brackets. From the code, it looks like this might have been intentional, but is there a reason for this? Also, is it possible to change the labels to be capitalized?

Before

Screenshot 2024-07-18 at 11 46 36 AM Screenshot 2024-07-18 at 11 49 57 AM

After

Screenshot 2024-07-18 at 11 45 54 AM

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

@rrodionov91
Copy link
Copy Markdown
Collaborator

Hi @leb2
Thank you for this PR.
Could you please fix the prettier errors and check why 52 tests are failing?

@leb2
Copy link
Copy Markdown
Author

leb2 commented Aug 5, 2024

Thanks, the test seem to be failing because I'm changing the expected behavior and the screenshots are now mismatched. I'll update the tests

@leb2 leb2 marked this pull request as draft August 7, 2024 19:40
@leb2 leb2 force-pushed the 4683-improve-sru-labels branch from 2cc0478 to 035b977 Compare August 7, 2024 20:07
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