Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update data transfer models #197

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/source/UserGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ portal can accessed at
- s3_bucket: As default, data will be uploaded to a default bucket
in S3 managed by AIND. Please reach out to the Scientific
Computing department if you wish to upload to a different bucket.
- metadata_dir_force: We will automatically pull subject and
procedures data for a mouse. By setting this ``True``, we will
overwrite any data in the ``metadata_dir`` folder with data
acquired automatically from our service
- force_cloud_sync: We run a check to verify whether there is
already a data asset with this name saved in our S3 bucket. If
this field is set to ``True``, we will sync the data to the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
'pydantic>=2.7,<2.9',
'pydantic-settings>=2.0',
'aind-data-schema>=1.0.0,<2.0',
'aind-data-transfer-models==0.14.1'
'aind-data-transfer-models==0.15.0'
]

[project.optional-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_csv_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_map_csv_row_to_job(self):
subject_id="123454",
acq_datetime=datetime(2020, 10, 10, 14, 10, 10),
metadata_dir=None,
metadata_dir_force=False,
metadata_dir_force=None,
force_cloud_sync=False,
),
BasicUploadJobConfigs(
Expand All @@ -76,7 +76,7 @@ def test_map_csv_row_to_job(self):
subject_id="123456",
acq_datetime=datetime(2020, 10, 13, 13, 10, 10),
metadata_dir=None,
metadata_dir_force=False,
metadata_dir_force=None,
force_cloud_sync=False,
codeocean_configs=CodeOceanPipelineMonitorConfigs(
job_type="custom"
Expand All @@ -99,7 +99,7 @@ def test_map_csv_row_to_job(self):
subject_id="123456",
acq_datetime=datetime(2020, 10, 13, 13, 10, 10),
metadata_dir=None,
metadata_dir_force=False,
metadata_dir_force=None,
force_cloud_sync=False,
),
]
Expand Down
Loading