Skip to content

Commit

Permalink
Addressed Issue SunSpecOrangeButton#55 for a 1.0.0 perspective
Browse files Browse the repository at this point in the history
  • Loading branch information
joelebwf committed Feb 27, 2019
1 parent 3b25884 commit 2cd377e
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 469 deletions.
4 changes: 2 additions & 2 deletions oblib/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def validate_datatype(self, value):
# TODO there's probably a validation method in urllib or something
# that we can import here.
return True
print("Warning: i don't know how to validate " + myType)
# print("Warning: i don't know how to validate " + myType)

# TODO add validation for complex types. Most types in the num:
# namespace will be decimals that expect units. Most types in
Expand Down Expand Up @@ -1247,7 +1247,7 @@ def _is_valid_unit(self, concept_name, unit_id):
unit_id, concept_name, required_type))

if required_type.startswith("solar-types:"):
print("I don't know how to validate {} yet, skipping for now".format(required_type))
# print("I don't know how to validate {} yet, skipping for now".format(required_type))
return True

# TODO what other required_types might we get here?
Expand Down
Loading

0 comments on commit 2cd377e

Please sign in to comment.