Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A couple more tab to space conversions

  • Loading branch information...
commit 3c24267e0275883a54f5033ceb31c975cb23122f 1 parent 066a246
@peterjc peterjc authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  Scripts/xbbtools/xbb_utils.py
  2. +4 −4 Tests/test_CodonUsage.py
View
2  Scripts/xbbtools/xbb_utils.py
@@ -18,7 +18,7 @@ def __init__(self, master= None):
self.filemenu.add_separator()
self.filemenu.add_command(label = "Dismiss", command = self.destroy)
- self.menubar.add_cascade(label="File", menu=self.filemenu)
+ self.menubar.add_cascade(label="File", menu=self.filemenu)
self.configure(menu = self.menubar)
self.yscroll = Scrollbar(self,orient=VERTICAL)
self.tid = Text(self, yscrollcommand = self.yscroll.set)
View
8 Tests/test_CodonUsage.py
@@ -6,12 +6,12 @@
X = CodonUsage.CodonAdaptationIndex()
# now generate an index from a file
if os.path.exists("./CodonUsage/HighlyExpressedGenes.txt"):
- X.generate_index("./CodonUsage/HighlyExpressedGenes.txt")
+ X.generate_index("./CodonUsage/HighlyExpressedGenes.txt")
elif os.path.exists("./Tests/CodonUsage/HighlyExpressedGenes.txt"):
- X.generate_index("./Tests/CodonUsage/HighlyExpressedGenes.txt")
+ X.generate_index("./Tests/CodonUsage/HighlyExpressedGenes.txt")
else:
- print "Cannot find the file HighlyExpressedGene.txt\nMake sure you run the tests from within the Tests folder"
- sys.exit()
+ print "Cannot find the file HighlyExpressedGene.txt\nMake sure you run the tests from within the Tests folder"
+ sys.exit()
# alternatively you could use any predefined dictionary like this:
# from CaiIndices import SharpIndex # you can save your dictionary in this file.
# X.SetCaiIndex(SharpIndex)
Please sign in to comment.
Something went wrong with that request. Please try again.