Skip to content

Commit

Permalink
feat: update data transfer models (#197)
Browse files Browse the repository at this point in the history
* chore: update version of aind-data-transfer-models

* tests: update unit tests
  • Loading branch information
jtyoung84 authored Dec 19, 2024
1 parent 9f4928c commit 08b0205
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
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

0 comments on commit 08b0205

Please sign in to comment.