Skip to content

Commit

Permalink
go back and update to be compatible with biapy
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 26, 2024
1 parent 45aeb5f commit fcebaa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>38.0.1</version>
<version>37.0.0</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ protected void buildModelDescription() throws ModelSpecsException
if (modelID == null) {
modelID = findID(yamlElements);
}
if (localModelPath != null && modelID == null)
return;
if (modelID.length() - modelID.replace("/", "").length() >= 2
&& modelID.substring(modelID.indexOf("/") + 1).indexOf("/") - modelID.indexOf("/") > 2 )
modelID = modelID.substring(0, modelID.indexOf("/") + modelID.substring(modelID.indexOf("/") + 1).indexOf("/") + 1);
Expand Down

0 comments on commit fcebaa6

Please sign in to comment.