jp-ellis / mathematica-notebook-filter Goto Github PK
View Code? Open in Web Editor NEWFilter Mathematica notebooks to commit them more easily
License: GNU General Public License v3.0
Filter Mathematica notebooks to commit them more easily
License: GNU General Public License v3.0
Hi. This plugin has been very helpful one week ago, but my computer crashed so I had to reinstall my system. I reinstalled everything, but this filter does not seem to work with SmartGit anymore.
The problem I encountered first was a permission denied warning for .gitattributes
file. This is successfully solved by moving the file to the root of my repo.
However, as the program runs flawlessly as standalone, I get this warning:
cannot spawn mathematica-notebook-filter: No such file or directory
cannot fork to run external filter 'mathematica-notebook-filter'
external filter 'mathematica-notebook-filter' failed
My .gitattributes
file at the root of my repo is as follows:
*.nb filter=dropoutput_nb
My .gitconfig
file at C:\Users\MyName
(since I'm using Windows) is as follows:
[user]
name = My name
email = My email
[filter "dropoutput_nb"]
clean = mathematica-notebook-filter
smudge = cat
http://www.xact.es/download.html
ERROR - Error when parsing notebook: Unable to locate the content type specification near the start of the file..
Hello,
I tried running the filter, but every time I get an error
$ mathematica-notebook-filter -i input_test.nb -o test.nb error: The argument '--input <FILE>' requires 1 values, but 2 were provided
Same goes with --input instead of -i. Sometimes without any change on my side it gives the same error for the --output argument.
The system is MacOSX HighSierra, the installation went without problem, but it never worked.
Thanks!
In my 80-column terminal, mathematica-notebook-filter --help
does not correctly get formatted.
I think changing
mathematica-notebook-filter/src/main.rs
Line 41 in e631645
But I am not sure about making it dynamic to every different systems, with variable terminal width.
When executing it manually your "mathematica-notebook-filter" works like a charm, but not in the git workflow. Any Ideas what i am doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.