-
Notifications
You must be signed in to change notification settings - Fork 1
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
Updates to support remote access from Windows #19
Conversation
- added functions/methods to get files/paths remotely if necessary
@jskrist - Thanks for this PR! I spent some time playing with this on MacOS client with kady linux remote. Your initial commit didn't work for me so I took the opportunity to understand what is going on and implement some comments I had on your PR. This now passes tests for me locally and using a remote server on I did this by setting |
…Path objects on Windows. - passed version into remote function `get_data_path` to avoid path manipulations outside of remote functions.
@taldcroft , thanks for testing this out on MacOS and adding the unit test. I found that when I tried to use this updated code I ran into an issue because the remote function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this pretty well now on MacOS and it looks good.
My testing is documented in the description. |
My understanding of what this does suggests the description still needs update (first bullet is more subtle now). |
@jeanconn I have updated the initial bullet point to be more accurate with the final implementation. Let me know if it reads well to you. |
Thanks @jskrist! |
Fixes path issues for remote access of the TDB from Windows
Interface impacts
cheta.remote_access.access_remotely
is set toTrue
when this package is loaded, the user will now be prompted to provide a hostname, username, and password (unless they have already been set in thecheta.remote_access
package), this should not impact existing code, outside of the FOT MATLAB Tools.Testing Windows (@jskrist)
Unit tests
I HAVE NOT tested any of these changes on linux, and would appreciate it if a reviewer could do that for me, since I don't have access to a linux machine in which I have control over the python installation.
Functional tests
Testing Mac (@taldcroft)
Unit tests
Setup
On
kady
, I had previously createdipyparallel
configuration files withipcluster start -n 1
. Now:Local data files
Remote data files
Functional tests
Install to local because
cheta
importSka.tdb
Test in a directory where the local git repo is not in the path