Edan Bainglass

Results 71 comments of Edan Bainglass

Has this progressed at all? I find myself in need of case 2 (above) quite often. As mscfd mentioned, it is quite common when cascading calls and has some use...

Not sure. I'm not familiar with how it works on your end. There are several NumPy methods/functions that can be overloaded. `np.array` and `np.zero` for example. Not sure how NumPy...

Here's an example of `np.array` introspection... ![image](https://user-images.githubusercontent.com/45081142/165340551-1d94a23b-44e2-430e-be18-0a9a5161c8ce.png) Note how it doesn't provide a Union of returns, but rather multiple versions of the overloaded method/function. This is done through the use...

> > `` > > U need to enable [insideClick] first, then change 'mouseover' to 'mouseclick' > > `` > > this works but doesn't close the top menu on...

From an aiidalab container running on my Windows machine, I get the following: ``` (base) (backup-script) aiida-core > verdi storage backup --pg_dump_exec /opt/conda/envs/aiida-core-services/bin/pg_dump --path C:\\Users\\edanb\\Aurora\\backup --remote [email protected] Warning: You are...

Okay, one immediate issue is that the path needs to be quote-escaped, so `\"C:\.......\"`. This worked, but than I got ``` Error: Command '['rsync', '-azh', '-vv', '--no-whole-file', '/tmp/tmprfyv4y7t/db.psql', '[email protected]:"C:/Users/edanb/Aurora/backup"/live_backup/']' returned...

Yep. That's exactly what I'm doing. Will have to resume tomorrow, but I think it'll work once enough quotes have been escaped 😅 Will report back soon 👍

This ``` rsync -azh -vv --no-whole-file /tmp/tmprfyv4y7t/db.psql [email protected]:"C:/Users/edanb/Aurora/backup"/live_backup/ ``` yields ``` 'rsync' is not recognized as an internal or external command, operable program or batch file. rsync: connection unexpectedly closed...

> Some articles online suggest rsync is required _also_ on Windows end. One person got it to work by installing rsync via cygwin on the Windows side. If this works,...

@eimrek "...the python code just uses subprocess to..." - regarding 1, you say it uses `bash` to execute commands on the host server. Well, the host is Windows, so no...