GithubHelp home page GithubHelp logo

Warnings about ott HOT 5 CLOSED

ilent2 avatar ilent2 commented on July 17, 2024
Warnings

from ott.

Comments (5)

ilent2 avatar ilent2 commented on July 17, 2024

Should also be looked at for 1.4.
Matlab's warning reference page: https://au.mathworks.com/help/matlab/ref/warning.html
Is there an option for displaying a warning once per session, or once per function call? Would we have to implement a check ourselves whenever we are calling functions multiple times?

from ott.

AStilg avatar AStilg commented on July 17, 2024

I don't think it matters as it will display the warning every time matlab is opened. It can be an instruction that the warnings will silence after one time per matlab session (if we don't have enough control)

from ott.

ilent2 avatar ilent2 commented on July 17, 2024

Rather than writing conditions around the individual warnings, we could overload the warning function (and in 1.4 use a function called ott.warning) which checks if a warning has already been displayed.

from ott.

AStilg avatar AStilg commented on July 17, 2024

Pursuant to previous, octave is very obtuse in the way it treats warnings and doesn't display which file produces the warning. I suggest that the file name is introduced into warnings somewhere. E.g. replacing "This file..." with "xxx.m..."

from ott.

ilent2 avatar ilent2 commented on July 17, 2024

I've just pushed dff474d which should make warnings less intrusive. Not sure if it is the cleanest solution. Any better suggestions or should we go with this for now?

from ott.

Related Issues (20)

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.