Skip to content

Commit

Permalink
fix: missing timezones for example
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Sep 26, 2024
1 parent b11d182 commit 6965be9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions examples/quality_control.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -33,7 +33,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -46,7 +46,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
}
Expand All @@ -56,7 +56,7 @@
{
"evaluator": "Automated",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -78,7 +78,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -91,7 +91,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
}
Expand All @@ -101,7 +101,7 @@
{
"evaluator": "Automated",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -123,7 +123,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -136,7 +136,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
},
Expand All @@ -149,7 +149,7 @@
{
"evaluator": "Bob",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
}
Expand All @@ -159,7 +159,7 @@
{
"evaluator": "Automated",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
}
Expand All @@ -169,7 +169,7 @@
{
"evaluator": "Automated",
"status": "Pass",
"timestamp": "2022-11-22T00:00:00"
"timestamp": "2022-11-22T00:00:00Z"
}
]
}
4 changes: 2 additions & 2 deletions examples/quality_control.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""Example quality control processing"""

from datetime import datetime
from datetime import datetime, timezone

from aind_data_schema_models.modalities import Modality

from aind_data_schema.core.quality_control import QCEvaluation, QualityControl, QCMetric, Stage, Status, QCStatus

t = datetime(2022, 11, 22, 0, 0, 0)
t = datetime(2022, 11, 22, 0, 0, 0, tzinfo=timezone.utc)

s = QCStatus(evaluator="Bob", status=Status.PASS, timestamp=t)

Expand Down

0 comments on commit 6965be9

Please sign in to comment.