Git Product home page Git Product logo

Comments (2)

daniwelter avatar daniwelter commented on June 12, 2024

Just out of curiosity, why are we reviving this code? I thought the linked_spreadsheet_builder was dead now that the schema template generator is fully implemented.

from ingest-client.

maniarathi avatar maniarathi commented on June 12, 2024

A few thoughts:

  1. I actually didn't even realize that that repo existed. When I initially asked for the spreadsheet generator code, I was pointed to ingest-client.

  2. That being said, it looks like the above repo fundamentally uses the spreadsheet builder according to this line here: https://github.com/HumanCellAtlas/schema-template-generator/blob/master/generator/template_generator_app.py#L295

  3. There seems to be a bunch of duplicate code in that particular repo including a comment that explicitly says "# WARNING: This code duplicates a large section of the ingest-client spreadsheet builder. Updates to the relevant spreadsheet builder code should be mimicked here!" which seems to imply that ingest-client spreadsheet builder is the source of truth. Consolidating code will prevent future bugs/confusion on why two methods of generating spreadsheets may differ.

  4. It also seems prudent to consolidate all business logic about spreadsheet generation and parsing into a single location and then split away the presentation logic/layer into its own thing. I would suggest leaving all the presentation logic in schema template generator repo and consolidate spreadsheet logic in ingest-client.

  5. The schema template generator repo seems to be also focused on creating a UI to do the generation. I am only interested in programmatically generating spreadsheets thus also fueling the need for point 4 above.

  6. Question for you : does the schema template generator code above link columns from different metadata schemas?

from ingest-client.

Related Issues (8)

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.