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

Fix server data root regex for copying server files #240

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

taldcroft
Copy link
Member

Description

Fixes #239

Interface impacts

None

Testing

Unit tests

  • Mac : FAILING two tests that use MAUDE. This is unrelated and apparently due to MAUDE server problems.

Independent check of unit tests by [REVIEWER NAME]

  • [PLATFORM]:

Functional tests

$ python -m cheta.update_client_archive --add-msids=msid_specs --data-root=. \
--server-data-root=aldcroft@kadi.cfa.harvard.edu --dry-run

fetch: using ENG_ARCHIVE=/Users/aldcroft/git/eng_archive for archive path
2022-09-13 09:19:54,845 Running cheta_update_client_archive version 4.56.1.dev11+g8ed7a4c
2022-09-13 09:19:54,845   /Users/aldcroft/git/eng_archive/cheta/update_client_archive.py
2022-09-13 09:19:54,845 
2022-09-13 09:19:54,845 Updating client archive at /Users/aldcroft/git/eng_archive
2022-09-13 09:19:54,845 Reading available cheta archive MSIDs from https://icxc.cfa.harvard.edu/aspect/cheta/
2022-09-13 09:19:55,092 Reading cheta MSIDs list file https://icxc.cfa.harvard.edu/aspect/cheta/sync/msid_contents.pkl.gz
2022-09-13 09:19:55,097 Reading MSID specs from msid_specs
2022-09-13 09:19:55,097 Assembling list of MSIDs that match MSID specs
2022-09-13 09:19:55,104   Found 1 MSIDs for AOPCADMD
2022-09-13 09:19:55,110   Found 2 MSIDs for AACCCD*
2022-09-13 09:19:55,110   Found 9 MSIDs for */1WRAT with content = acis4eng
2022-09-13 09:19:55,110   Found 12 matching MSIDs total
2022-09-13 09:19:55,172 Found 45 local archive files that are missing and need to be copied
2022-09-13 09:19:55,265 Connecting to kadi.cfa.harvard.edu
Password for aldcroft@kadi.cfa.harvard.edu: 
2022-09-13 09:20:12,423 Copying 45 files from aldcroft@kadi.cfa.harvard.edu to /Users/aldcroft/git/eng_archive
2022-09-13 09:20:12,423 DRY RUN
|>--------------------------------------------------------------------------------------------------------------------------------|   0 / 45  ( 0.00%)2022-09-13 09:20:12,424 copy data/acis4eng/1PIN1AT.h5
2022-09-13 09:20:12,424 copy data/acis4eng/1SSMYT.h5
2022-09-13 09:20:12,424 copy data/acis4eng/1SSPYT.h5
2022-09-13 09:20:12,425 copy data/acis4eng/1VAHCAT.h5
2022-09-13 09:20:12,425 copy data/acis4eng/1VAHCBT.h5
2022-09-13 09:20:12,425 copy data/acis4eng/1VAHOAT.h5
2022-09-13 09:20:12,425 copy data/acis4eng/1VAHOBT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/1WRAT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/1WRBT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/5min/1PIN1AT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/5min/1SSMYT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/5min/1SSPYT.h5
2022-09-13 09:20:12,426 copy data/acis4eng/5min/1VAHCAT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/5min/1VAHCBT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/5min/1VAHOAT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/5min/1VAHOBT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/5min/1WRAT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/5min/1WRBT.h5
2022-09-13 09:20:12,427 copy data/acis4eng/TIME.h5
2022-09-13 09:20:12,427 copy data/acis4eng/archfiles.db3
2022-09-13 09:20:12,427 copy data/acis4eng/colnames.pickle
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1PIN1AT.h5
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1SSMYT.h5
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1SSPYT.h5
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1VAHCAT.h5
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1VAHCBT.h5
2022-09-13 09:20:12,428 copy data/acis4eng/daily/1VAHOAT.h5
2022-09-13 09:20:12,429 copy data/acis4eng/daily/1VAHOBT.h5
2022-09-13 09:20:12,429 copy data/acis4eng/daily/1WRAT.h5
2022-09-13 09:20:12,429 copy data/acis4eng/daily/1WRBT.h5
2022-09-13 09:20:12,429 copy data/pcad3eng/5min/AOPCADMD.h5
2022-09-13 09:20:12,429 copy data/pcad3eng/AOPCADMD.h5
2022-09-13 09:20:12,429 copy data/pcad3eng/TIME.h5
2022-09-13 09:20:12,429 copy data/pcad3eng/archfiles.db3
2022-09-13 09:20:12,430 copy data/pcad3eng/colnames.pickle
2022-09-13 09:20:12,430 copy data/pcad3eng/daily/AOPCADMD.h5
2022-09-13 09:20:12,430 copy data/pcad5eng/5min/AACCCDPT.h5
2022-09-13 09:20:12,430 copy data/pcad5eng/5min/AACCCDRT.h5
2022-09-13 09:20:12,431 copy data/pcad5eng/AACCCDPT.h5
2022-09-13 09:20:12,431 copy data/pcad5eng/AACCCDRT.h5
2022-09-13 09:20:12,431 copy data/pcad5eng/TIME.h5
2022-09-13 09:20:12,431 copy data/pcad5eng/archfiles.db3
2022-09-13 09:20:12,431 copy data/pcad5eng/colnames.pickle
2022-09-13 09:20:12,431 copy data/pcad5eng/daily/AACCCDPT.h5
2022-09-13 09:20:12,432 copy data/pcad5eng/daily/AACCCDRT.h5

@matthewdahmer
Copy link
Contributor

This doesn't cause any problems on my machine with my account, I still need to walk @christian-anderson through this on his machine since he is the only one I know of with a dot in his username.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cheta archive update method doesn't handle periods in usernames
2 participants