Commits

Aleš Erjavec  committed 9cb1de3

Create the destination directory if it does not exist.

  • Participants
  • Parent commits 6778e02

Comments (0)

Files changed (1)

File _bioinformatics/obiGeneMania.py

         
         baseurl = "http://genemania.org/data/current/"
         directory = orngServerFiles.localpath("PPI")
+
+        if not os.path.exists(directory):
+            os.makedirs(directory)
+
         if taxid is None:
             taxid = cls.common_taxids()