Skip to content

Commit bc29d9f

Browse files
committed
Bugfix to PedigreeToolParameterDescriptor
1 parent 8e95311 commit bc29d9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/pipeline/PedigreeToolParameterDescriptor.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ public PedigreeToolParameterDescriptor()
1313
this(true);
1414
}
1515

16-
public PedigreeToolParameterDescriptor(boolean isRequired)
16+
public PedigreeToolParameterDescriptor(final boolean isRequired)
1717
{
18-
super(null, NAME, "Pedigree Source", "This is the table used for pedigree data", "laboratory-pedigreeselectorfield", "laboratory.subjects", new JSONObject());
18+
super(null, NAME, "Pedigree Source", "This is the table used for pedigree data", "laboratory-pedigreeselectorfield", "laboratory.subjects", new JSONObject(){{
19+
put("allowBlank", !isRequired);
20+
}});
1921

20-
getAdditionalExtConfig().put("allowBlank", isRequired);
2122
_isRequired = isRequired;
2223
}
2324

0 commit comments

Comments
 (0)