Skip to content
Snippets Groups Projects
Commit 3b522114 authored by tjc's avatar tjc
Browse files

fix to get the EMBl header written out

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@12082 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent ca45ca09
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,8 @@ public class ReadAndWriteEntry
if(destination_type == DocumentEntryFactory.EMBL_FORMAT &&
(entry.getHeaderText() == null ||
entry.getHeaderText().equals("")))
entry.getHeaderText().equals("") ||
entry.getHeaderText().startsWith("#")))
{
String name = file.getName();
int ind = name.lastIndexOf(".");
......@@ -167,8 +168,7 @@ public class ReadAndWriteEntry
"Location/Qualifiers\nFH\n");
entry.setHeaderText(header);
}
if(include_diana_extensions)
entry.save(file, destination_type, force, artemis_entry_information);
else
......
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