Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing displayId of loaded SequenceFeature has strange outcome when later writing to rdf #42

Open
nroehner opened this issue Aug 10, 2011 · 0 comments

Comments

@nroehner
Copy link

After loading a SequenceFeature from a rdf file using IOTools.fromRdfXml(), I changed its displayId by calling SequenceFeature.setDisplayId(). When I wrote to another rdf using IOTools.toRdfXml(), the feature in the file correctly had its new displayId, but incorrectly had its old encrypted id based on its old displayId and was missing its SO types.

The only way I could work around this was by creating a new SequenceFeature and copying into it the new displayId and all the values of the old SequenceFeature before writing out the new SequenceFeature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant