Git Product home page Git Product logo

Comments (2)

drj11 avatar drj11 commented on August 27, 2024

This error log actually gives quite a typical stack trace that shows what happens inside ISA-Tab parsing: https://gist.github.com/drj11/23b3c9537ae250413a4034d5ad498ade

from genometranslationcommons.

drj11 avatar drj11 commented on August 27, 2024

Case notes: what is an attribute?

Please see refinery/data_set_manager/isa_tab_parser.py

Attribute instances are not created at many places in the code. In _parse_attribute https://github.com/refinery-platform/refinery-platform/blob/develop/refinery/data_set_manager/isa_tab_parser.py#L435-L442

In fact, Attribute is created it only one place.
It is created in _parse_attribute if the has_attribute flag is false by the time it is tested.

the has_attribute flag is set to True when either:

  • header_components has length 1: and the node already has an attribute of that type
  • header_components has length more than 1 (2?): and the node already has an attribute of that type and subtype;

However, _parse_attribute is not called unless the higher level code decides that the node is an attribute.
This is in _parse_node which calls is_attribute

from genometranslationcommons.

Related Issues (19)

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.