# HG changeset patch # User sanbi-uwc # Date 1465563742 14400 # Node ID 0d1da3ae9d3d517912376b9785849089d9fa303d # Parent 3212320e3c19a85aa35831450690aa034ee20cb0 planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/build_ctb_explorer commit c8c46a5600bb091d701b8cf78f80a50c6b6812f4 diff -r 3212320e3c19 -r 0d1da3ae9d3d build_ctb_explorer.py --- 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()