-
Notifications
You must be signed in to change notification settings - Fork 395
String Formatter error when key or value of Qualifier has character "%" #886
Copy link
Copy link
Closed
Labels
bugBugs and bugfixesBugs and bugfixeshelp wantedQuestions and support for usersQuestions and support for users
Description
feature.addQualifier("note", new Qualifier("note", "coding sequ%_ece", true));
GenbankWriterHelper.writeNucleotideSequence(......)
Exception in thread "main" java.util.UnknownFormatConversionException: Conversion = '_'
at java.util.Formatter.checkText(Formatter.java:2579)
at java.util.Formatter.parse(Formatter.java:2555)
at java.util.Formatter.format(Formatter.java:2501)
at java.io.PrintWriter.format(PrintWriter.java:905)
at org.biojava.nbio.core.sequence.io.GenbankWriter.process(GenbankWriter.java:95)
at org.biojava.nbio.core.sequence.io.GenbankWriterHelper.writeNucleotideSequence(GenbankWriterHelper.java:135)
at GenBank.main(GenBank.java:41)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugBugs and bugfixesBugs and bugfixeshelp wantedQuestions and support for usersQuestions and support for users