Skip to content

Commit 700bf45

Browse files
burdorfmitchellbhazelton
authored andcommitted
Changed the BDR API query to check date created as the last modified date no longer provides the latest uploaded reference simulation file.
1 parent 09d0c4e commit 700bf45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyuvsim/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def get_latest_api_response_pid(sim_name):
814814
# api url
815815
api_url = (
816816
"https://repository.library.brown.edu/api/collections/bdr:wte2qah8/?q="
817-
f"primary_title:{sim_name}&wt=json&sort=object_last_modified_dsi desc&rows=1"
817+
f"primary_title:{sim_name}&wt=json&sort=object_created_dsi desc&rows=1"
818818
)
819819

820820
print(

0 commit comments

Comments
 (0)