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

fix: sample attribute assignment wrongly rm by cop #2339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PiTrem
Copy link
Member

@PiTrem PiTrem commented Feb 18, 2025

since: 2f8ad4f

Sample attribute name not recognized and tagged as Useless assignement to variable rm in
style: rubocop app/models/sample.rb (#2325)

refs: #2325

since: 2f8ad4f

Sample attribute name not recognized and tagged as
`Useless assignement to variable` rm in
style: rubocop app/models/sample.rb (#2325)

refs: #2325
@@ -445,7 +445,7 @@ def find_or_create_molecule_based_on_inchikey
return if inchikey.blank?

is_partial = babel_info[:is_partial]
babel_info[:version]
molfile_version = babel_info[:version]

Choose a reason for hiding this comment

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

Lint/UselessAssignment: Useless assignment to variable - molfile_version.

Copy link

LCOV of commit f09f6d8 during Continuous Integration #4473

Summary coverage rate:
  lines......: 67.7% (15062 of 22246 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

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