Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 00cc318f authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- minor change in OntologyNetwork.trim()

parent b6e2449f
No related branches found
No related tags found
No related merge requests found
...@@ -1026,10 +1026,10 @@ public class AServProtocolManager implements Service { ...@@ -1026,10 +1026,10 @@ public class AServProtocolManager implements Service {
pretty = noo.getExtension( Namespace.EXT.uri, Annotations.PRETTY ) + "/trimmed"; pretty = noo.getExtension( Namespace.EXT.uri, Annotations.PRETTY ) + "/trimmed";
} }
noo = noo.clone(); noo = noo.clone();
noo.setExtension( Namespace.EXT.uri, Annotations.PRETTY, pretty );
// trim // trim
try { try {
noo.trim( method, threshold ); noo.trim( method, threshold );
noo.setExtension( Namespace.EXT.uri, Annotations.PRETTY, pretty );
} catch (AlignmentException e) { } catch (AlignmentException e) {
return new ErrorMsg( params, newId(), serverId,"Network alignment error" ); return new ErrorMsg( params, newId(), serverId,"Network alignment error" );
} }
......
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