-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from AllenNeuralDynamics/release-v0.20.0
Release v0.20.0
- Loading branch information
Showing
38 changed files
with
4,851 additions
and
891 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Init package""" | ||
|
||
__version__ = "0.19.0" | ||
__version__ = "0.20.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Sets up the MRI ingest ETL""" | ||
|
||
import argparse | ||
import json | ||
import logging | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
""" example data description """ | ||
|
||
from datetime import datetime, timezone | ||
|
||
from aind_data_schema.core.data_description import Funding, RawDataDescription | ||
from aind_data_schema_models.modalities import Modality | ||
from aind_data_schema_models.organizations import Organization | ||
from aind_data_schema_models.pid_names import PIDName | ||
from aind_data_schema_models.platforms import Platform | ||
|
||
d = RawDataDescription( | ||
modality=[Modality.POPHYS, Modality.BEHAVIOR_VIDEOS, Modality.BEHAVIOR], | ||
platform=Platform.MULTIPLANE_OPHYS, | ||
subject_id="12345", | ||
creation_time=datetime(2022, 2, 21, 16, 30, 1, tzinfo=timezone.utc), | ||
institution=Organization.AIND, | ||
investigators=[PIDName(name="Jane Smith")], | ||
funding_source=[Funding(funder=Organization.AI)], | ||
) | ||
|
||
serialized = d.model_dump_json() | ||
deserialized = RawDataDescription.model_validate_json(serialized) | ||
deserialized.write_standard_file() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.