Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Footer script compatible with python 2.6
  • Loading branch information
lafita committed Jul 22, 2015
commit 99c7cc261ec551d2c715a4bd993cd73d32a23849
8 changes: 4 additions & 4 deletions bin/update_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def makefooter(self):
name = p.makename()
# Get a path to p relative to our own path
link = os.path.relpath(p.rootlink(),os.path.dirname(self.rootlink()))
linkmd.append("[{}]({})".format(name,link))
linkmd.append("[{0}]({1})".format(name,link))
p = p.parent
linkmd.reverse()
lines.append("\n| ".join(linkmd))
Expand All @@ -123,13 +123,13 @@ def makefooter(self):
prev = self.parent.children[pos-1]
name = prev.makename()
link = os.path.relpath(prev.rootlink(),os.path.dirname(self.rootlink()))
lines.append("Prev: [{}]({})".format(name,link))
lines.append("Prev: [{0}]({1})".format(name,link))
lines.append("")
if pos < len(self.parent.children)-1:
next = self.parent.children[pos+1]
name = next.makename()
link = os.path.relpath(next.rootlink(),os.path.dirname(self.rootlink()))
lines.append("Next: [{}]({})".format(name,link))
lines.append("Next: [{0}]({1})".format(name,link))
lines.append("")

#lines.append(self.makename()+", "+self.link)
Expand Down Expand Up @@ -162,7 +162,7 @@ def __repr__(self):

# Output tree
def pr(node,indent=""):
print "{}{}".format(indent,node.link,node.rootlink())
print "{0}{1}".format(indent,node.link,node.rootlink())
for n in node.children:
pr(n,indent+" ")

Expand Down
Binary file removed structure/img/multiple_align_globins.png
Binary file not shown.