Skip to content

Commit

Permalink
fix freeze panes, better mint truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelsoup42 committed Oct 4, 2023
1 parent 6499f1a commit 8984b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cardano_account_pandas_dumper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def main():
args.xlsx_output,
sheet_name=f"Transactions to block {args.to_block}",
index_label="Timestamp",
freeze_panes=(3 if args.raw_values else 2, 4),
freeze_panes=(3 if args.raw_values else 2, 3),
)
except OSError as exception:
warnings.warn(f"Failed to write .xlsx file: {exception}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,9 @@ def _parse_nft_mint(self, meta: blockfrost.utils.Namespace) -> str:
for policy, _v in meta_dict.items():
if policy == "version":
continue
result += f"{self._format_policy(policy)}:"
for asset_name in _v.to_dict().keys():
result += f"{self._format_policy(policy)}@{asset_name} "
result += f"{asset_name} "
return result

def _format_message(self, tx_obj: blockfrost.utils.Namespace) -> str:
Expand Down

0 comments on commit 8984b9c

Please sign in to comment.