Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Jul 31, 2024
1 parent e5b5a79 commit 2479c8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appletree/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,9 @@ def lineage(self):
**{
"rate_name": self.rate_name,
"norm_type": self.norm_type,
"bins": tuple(b.tolist() for b in self.bins),
"bins": (
tuple(b.tolist() for b in self.bins) if self.bins is not None else self.bins
),
"bins_type": self.bins_type,
"code": self.code,
},
Expand Down Expand Up @@ -636,7 +638,7 @@ def lineage(self):
return {
"rate_name": self.rate_name,
"norm_type": self.norm_type,
"bins": tuple(b.tolist() for b in self.bins),
"bins": tuple(b.tolist() for b in self.bins) if self.bins is not None else self.bins,
"bins_type": self.bins_type,
"file_path": (
os.path.basename(self._file_name)
Expand Down

0 comments on commit 2479c8a

Please sign in to comment.