Skip to content

Commit 968402d

Browse files
author
munrojm
committed
Add collected date time column
1 parent ba29588 commit 968402d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/atomscale/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def search(
157157
"project_ids": "Project ID",
158158
"project_names": "Project Name",
159159
"sha3_256": "sha256",
160+
"collected_datetime": "Collected Datetime",
160161
}
161162

162163
columns_to_drop = [
@@ -209,6 +210,7 @@ def search(
209210
"Owner",
210211
"Workspaces",
211212
"sha256",
213+
"Collected Datetime",
212214
]
213215
ordered_cols = [col for col in desired_order if col in catalogue.columns] + [
214216
col for col in catalogue.columns if col not in desired_order

tests/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def test_generic_search(client: Client):
4848
"Project ID",
4949
"Project Name",
5050
"sha256",
51+
"Collected Datetime",
5152
]
5253
)
5354
assert not len(set(orig_data.keys().values) - column_names)

0 commit comments

Comments
 (0)