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

Feature/new test #84

Merged
merged 30 commits into from
Aug 28, 2023
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
dd50bc0
updated test notebook
sliu008 Aug 16, 2023
4d77f6b
update notebook test to not use notebooks
sliu008 Aug 22, 2023
da3467d
Update uat_associations.txt with new collections
jonathansmolenski Aug 22, 2023
08e9a27
changes to drop variables
sliu008 Aug 22, 2023
562ede6
update tests
sliu008 Aug 23, 2023
dfbda37
update tests
sliu008 Aug 23, 2023
edeb4c0
update python libraries
sliu008 Aug 23, 2023
aee35a0
update notebook test
sliu008 Aug 23, 2023
d5fc3e1
update changelog
sliu008 Aug 23, 2023
5b4a6c2
Merge branch 'develop' into feature/new_test
sliu008 Aug 23, 2023
39a61f0
update tests names
sliu008 Aug 23, 2023
9de25e3
fix checking venue to lower case
sliu008 Aug 24, 2023
832f809
debugging tests
sliu008 Aug 24, 2023
ce09159
testing larger runners
sliu008 Aug 24, 2023
5f0b742
debug tests
sliu008 Aug 24, 2023
863390e
debug test
sliu008 Aug 24, 2023
01e37ec
debug test
sliu008 Aug 24, 2023
5ab3d0c
debug test
sliu008 Aug 24, 2023
47c4837
debug test
sliu008 Aug 24, 2023
5a77f3b
updated concise tests
sliu008 Aug 28, 2023
db12997
Merge branch 'develop' into feature/new_test
sliu008 Aug 28, 2023
b4bc67e
fix indentation
sliu008 Aug 28, 2023
841b226
Merge branch 'develop' into feature/new_test
sliu008 Aug 28, 2023
5897bbf
renaming add collection test github actions yml
sliu008 Aug 28, 2023
64ac817
update old jupyter test
sliu008 Aug 28, 2023
a65b86f
remove jupyter notebook references
sliu008 Aug 28, 2023
6145f7c
Merge branch 'develop' into feature/new_test
sliu008 Aug 28, 2023
1dfec65
reverting github actions name
sliu008 Aug 28, 2023
6699cc3
modify way we get a filename
sliu008 Aug 28, 2023
cd97b64
Merge branch 'develop' into feature/new_test
sliu008 Aug 28, 2023
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
7 changes: 6 additions & 1 deletion add_collection_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,12 @@ def test(collection_id, venue):

for file in original_files:

file_name = file.rsplit(".", 1)[0]
# if the file name end in an alphabet so we know there is some extension
if file[-1].isalpha():
file_name = file.rsplit(".", 1)[0]
else:
file_name = file

print(file_name)
cmr_query = f"{cmr_base_url}{file_name}&collection_concept_id={collection_id}"
print(cmr_query)
Expand Down