Skip to content
Snippets Groups Projects
Commit dc512921 authored by Neda Moeini's avatar Neda Moeini Committed by Mohammad Torkashvand
Browse files

Update the custom geant_ids

parent 4208ca00
No related branches found
No related tags found
1 merge request!324Feature/manage sid and gids
......@@ -34,7 +34,7 @@ def validate_id(value: str, prefix: str, field_name: str) -> str:
err = f"{field_name} must have a numeric part after the prefix '{prefix}'."
raise ValueError(err) from ValueError
if min_range <= numeric_part < max_range:
if min_range <= numeric_part <= max_range:
err = f"{field_name} must not have a numeric part between 50000 and 99999."
raise ValueError(err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment