Skip to content
Merged
Changes from all commits
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
16 changes: 8 additions & 8 deletions scripts/datamodel-doc/ALICEO2includeFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,12 @@ def printSingleTable(self, tabs, uses, tab2u):
print(" </div>")

# print header file
if tab2u.hfile.startswith(self.O2path):
href2u = self.O2href
path2u = self.O2path
else:
if "O2Physics" in tab2u.hfile:
href2u = self.O2Physicshref
path2u = self.O2Physicspath
else:
href2u = self.O2href
path2u = self.O2path

hf2u = O2DMT.block(tab2u.hfile.split(path2u)[
1:], False).strip().lstrip("/")
Expand Down Expand Up @@ -633,12 +633,12 @@ def printTables(self, DMtype, tabs, uses, CER, tabs2u):
print("#### ", CER[2])

# add source code information if available
if CER[0].startswith(self.O2path):
href2u = self.O2href
path2u = self.O2path
else:
if "O2Physics" in CER[0]:
href2u = self.O2Physicshref
path2u = self.O2Physicspath
else:
href2u = self.O2href
path2u = self.O2path

if DMtype == 1:
if href2u != "":
Expand Down