Git Product home page Git Product logo

mathematica-notebook-filter's People

Contributors

jp-ellis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mathematica-notebook-filter's Issues

Filter not working in SmartGit

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

Error with the input argument

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!

Support 80-column terminal size

image

In my 80-column terminal, mathematica-notebook-filter --help does not correctly get formatted.
I think changing

.max_term_width(100)

from 100 to 80 could be a workaround, and can probably work fine with systems more than 80.

image

But I am not sure about making it dynamic to every different systems, with variable terminal width.

Broken testing notebook

I think the filter can break testing notebooks like

image

image

The formatting had gone, and it throws 'malformed test' error message whenever I'm trying to press any button.
It may be related to how the filter can break some formats.
Can you reproduce this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.