We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37aaf69 commit b6e1169Copy full SHA for b6e1169
methods_add_cards.py
@@ -2,6 +2,9 @@
2
from numpy import True_
3
import pandas as pd
4
from typing import Tuple
5
+
6
+from pathlib import Path
7
8
from projectcard import ProjectCard
9
from projectcard import write_card
10
@@ -67,7 +70,7 @@ def add_cards_to_registry(
67
70
card.__dict__.pop("file")
68
71
if "valid" in card.__dict__:
69
72
card.__dict__.pop("valid")
- write_card(filename=filename)
73
+ write_card(card, filename=Path(filename))
74
75
return out_df
76
0 commit comments