changeset 4:0d1da3ae9d3d draft default tip

planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/build_ctb_explorer commit c8c46a5600bb091d701b8cf78f80a50c6b6812f4
author sanbi-uwc
date Fri, 10 Jun 2016 09:02:22 -0400
parents 3212320e3c19
children
files build_ctb_explorer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/build_ctb_explorer.py	Fri Jun 10 08:50:09 2016 -0400
+++ b/build_ctb_explorer.py	Fri Jun 10 09:02:22 2016 -0400
@@ -76,7 +76,7 @@
 
             """Copy the jbrowser input data file to the outputdir @TODO: investigate altenatives"""
             try:
-                shutil.copy2(self.input_jbrowser, self.output_jbrowser)
+                shutil.copy2(self.input_jbrowser, os.path.join(self.output_jbrowser, 'index.html'))
             except shutil.Error as e:
                 log.debug('Error: %s' % e)
             # eg. source or destination doesn't exist
@@ -113,4 +113,4 @@
     if status is None:
         exit(1)
 
-if __name__ == "__main__": main()
\ No newline at end of file
+if __name__ == "__main__": main()