Skip to content

Commit

Permalink
Fix issue with column direction
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanshreeA committed Jan 13, 2025
1 parent 0159d87 commit b8d2408
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ersilia/hub/content/columns_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def _validate_columns_data(self, data):
"Type {0} is not an accepted type: {1}".format(d, self.DATA_TYPES)
)
for d in data["direction"]:
if d is None:
continue
if d not in self.DESIRED_DIRECTIONS:
raise ValueError(
"Direction {0} is not an accepted direction: {1}".format(
Expand Down

0 comments on commit b8d2408

Please sign in to comment.