Giter Site home page Giter Site logo

Comments (2)

joeced avatar joeced commented on August 16, 2024

Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):


add @Property doc returns docstring

  • use repr() instead of str(), since repr() precludes str()
  • fix bug, arg in getter is name, not attr!
  • begin separating modname module from basedir absolute path
  • not passing!
  • if fullpath passed to matlabify is None, return None
  • fix bug 1st arg of super calls to getter should be classname, but were all MatModule
    since copied/pasted from there oops!
  • add not to multiline docstring immediately before property assignment in property
    block should have colon after comment marker eg "%:"
  • class property module returns path, needs fixing, currently returns absolute path
    including basedir
  • delete shadow init method from MATLAB documenter
  • set parent to None, if module is in top level of basedir, needs fixing, looks like it
    sets parent = None if fullpath == basedir, which is not correct, this would put
    everything into a single package, which might be desirable but is not the most general
    case, not sure, hmmmm
  • delete ModuleAnalyzer debugging stuff
  • delte objtypes, since same as python autodoc
  • add set self.doc_as_attr = something to import_object for classes
  • add MatModuleLevelDocumenter and MatClassLevelDocumenter classes

from matlabdomain.

joeced avatar joeced commented on August 16, 2024

Original comment by Mark Mikofski (Bitbucket: bwanamarko, GitHub: Unknown):


the issue is that they are read in with their quotes if they are string literals, hence the double quotes.

Checking token types for primitive literals is fine, but for matlab arrays and more complicated property defaults, it could get tricky

proposal:

  • if primitive literal, use tokens to resolve and recast as Python equivalent
  • if some tricky matlab type, leave as string, or recast to python equivalent if possible
  • leave as an <MatObject: "blah">

from matlabdomain.

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.