Comments (2)
You cannot pass an arguments, but any variables that you set in Fityk's Lua interpreter are preserved between commands. So you can do:
lua path="C:\\Users\\baka\\sobaka\\EXPERIMENTS\\smth\\S3_(ac)\\"
exec script.lua
and access path
from script.lua
. If you'd prefer to put it into a single line:
lua param1='something'; dofile('script.lua')
from fityk.
That is beautiful! Thank you!
However there is another related problem:
This approach works perfectly with freshly opened Fityk. But as soon as I open saved project I cannot call scripts from default (C:\Program Files (x86)\Fityk
) path anymore without providing full path again.
In both cases output of info set cwd
is '' type: 'string '
Do you have any ideas why it behaves in such a way and if there is a way fix this?
from fityk.
Related Issues (20)
- xylib location HOT 1
- MFit::ExecuteError: there are no fittable parameters WHY? HOT 2
- Svg export
- [feature request] All functions in dataset
- Default function indexing HOT 1
- 4pl logtistics fitting HOT 1
- Assertion failed
- Crosshair Cursor
- Uncertainty of parameter via lua HOT 2
- Deep copy functions from one dataset to a multiple ones HOT 2
- Autoconf cannot find boost OpenBSD HOT 1
- Bug(?) in calculating errors HOT 2
- wxWidgets GTK3 support HOT 1
- Faster way to unfreeze all variables
- Specify the tested python versions
- Shirley background substraction: select the region
- C++17 has dropped support for dynamic exceptions HOT 3
- make problems with permissions during zlib installation HOT 1
- (website) mistake HOT 1
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 fityk.