Skip to content

Conversation

@SteffenHeu
Copy link
Member

No description provided.

public static Result validate(@Nullable LipidFragmentationRule rule) {
StringBuilder errors = new StringBuilder();
if (rule == null) {
errors.append("Rule is null\n");
Copy link
Member

@robinschmid robinschmid Mar 14, 2025

Choose a reason for hiding this comment

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

was this for debugging or is that a real issue if the rule is null?
I guess internally there should always be a rule - even if its simple.
Just checking

@robinschmid robinschmid self-requested a review March 14, 2025 15:57
Copy link
Member

@robinschmid robinschmid left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@robinschmid robinschmid merged commit 0e74923 into mzmine:master Mar 18, 2025
6 checks passed
@SteffenHeu SteffenHeu deleted the lipid-fix branch May 30, 2025 12:33
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