Comments (4)
The original motivation for the absolute paths was to make it easier to launch a detached process from Java. I'll check if there is a good way to do this without relying on the shell script to change directories.
from n2a.
Turns out that for remote jobs, it gets more complicated to handle paths when they're relative. Since this is not a high-priority issue, I am closing this as "won't fix".
from n2a.
Thank you for taking a look! I agree this isn't a priority since the solution is complicated.
from n2a.
While looking at this issue, a thought came to me on how to deal with the remote path issue. I'm reopening this, just to keep it on the TODO list.
The main issue with relative remote paths is how to transmit them through SSH. The current procedure is to convert them to absolute paths, then quote if needed. The part about converting to absolute path could be removed, as there isn't really a good way to do this. The current method is just a hack that is rarely actually used, and doesn't really work when it is used. Instead, paths will be transmitted exactly as is.
The remaining issue is that a relative path to an executable will generally fail. It is usually an immediate reference to an executable in the current working directory (CWD), but "." isn't necessarily in the search path. Rather than requiring the user to configure this, we should prepend a dot to the path. However, we shouldn't do that with every single relative path. The trick here is to extend Host.quote() to take a flag indicating whether to treat the path as an executable.
from n2a.
Related Issues (20)
- UI: In parameter mode, edit only the value, not key or assignment symbol
- UI: Update title of graph node or graph parent when override status changes
- UI: Restore focus to graph node that gets dragged
- UI: Undo inherit causes graph to shift unexpectedly
- UI: Visualize non-local connection bindings
- Backend: Explicit progress indicator
- UI: Select git revision and show differences
- UI: Equation tree should scroll to edit full height of field HOT 1
- UI: Highlight references to variable HOT 1
- UI: Allow multiple selection in equation tree
- Python: Create pybind11 wrapper for C
- Language: Allow keyword arguments in functions
- Use Maven build system HOT 1
- Git rebase during pull
- Reduce size of model snapshots HOT 1
- UI: a delete that merely releases override is effectively not undoable
- UI: ability to zoom the model graph HOT 1
- Add `numpy` dependency to setupy.py HOT 1
- Fail export when requested model isn't found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n2a.