Skip to content
Snippets Groups Projects

Workflow v2

Merged Loraine Gueguen requested to merge workflow_v2 into dev
2 unresolved threads
4 files
+ 56
47
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 3
2
@@ -64,8 +64,9 @@ class DeploySpeciesStack(speciesData.SpeciesData):
if not config["banner_path"] == "" and os.path.isfile(os.path.abspath(config["banner_path"])):
banner_dest_path = os.path.abspath("./banner.png")
logging.info("Custom banner path: %s" % self.config["banner_path"])
if os.path.samefile(os.path.abspath(config["banner_path"]),banner_dest_path):
shutil.copy(os.path.abspath(self.config["banner_path"]), banner_dest_path)
# if os.path.samefile(os.path.abspath(config["banner_path"]), banner_dest_path):
# shutil.copy(os.path.abspath(self.config["banner_path"]), banner_dest_path)
shutil.copy(os.path.abspath(self.config["banner_path"]), banner_dest_path)
else:
logging.debug("Using default banner for Tripal pages")
self.config.pop("banner_path", None)
Loading