Skip to content

Commit

Permalink
Removed table assertion disallowing dots in columns (wandb#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
tssweeney authored Apr 21, 2021
1 parent 31a8f3b commit def5409
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions wandb/data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,13 +501,6 @@ def to_json(self, run_or_artifact):
)

elif isinstance(run_or_artifact, wandb_artifacts.Artifact):
for column in self.columns:
if isinstance(column, six.string_types) and "." in column:
raise ValueError(
"invalid column name: {} - tables added to artifacts must not contain periods.".format(
column
)
)
artifact = run_or_artifact
mapped_data = []
data = self._to_table_json(Table.MAX_ARTIFACT_ROWS)["data"]
Expand Down

0 comments on commit def5409

Please sign in to comment.