Skip to content

Commit 81bb034

Browse files
Remove unnecessary FG warning from EHLD validator
FG is optional and the warning was noise in validation output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 766bb8e commit 81bb034

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/main/java/org/reactome/server/tools/EhldValidator.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* 4. LOGO exists somewhere inside BG
2424
* 5. At least one REGION-R-HSA-[numbers] group exists
2525
* 6. Each REGION has a matching OVERLAY inside it
26-
* 7. FG is optional (warning if missing)
2726
*/
2827
public class EhldValidator implements Checker {
2928

@@ -136,12 +135,6 @@ private void validateSvg(File svgFile) {
136135
}
137136
}
138137

139-
// Check FG (optional, just warn)
140-
Element fgElement = findElementById(topGroup, "FG");
141-
if (fgElement == null) {
142-
logger.warn("EHLD '{}': no 'FG' group found (optional)", filename);
143-
}
144-
145138
// Check REGION-R-HSA-[numbers] groups
146139
List<Element> regions = findElementsMatchingId(topGroup, REGION_PATTERN);
147140
if (regions.isEmpty()) {

0 commit comments

Comments
 (0)