Git Product home page Git Product logo

Comments (4)

jjkoehorst avatar jjkoehorst commented on July 26, 2024

Trying to figure out what is happening but it never enters the

def convert_obj(fp, obj):
    if "Collection" in as_list(obj.type):
        main_entity = obj.get("mainEntity")
        if not main_entity:
....

from runcrate.

jjkoehorst avatar jjkoehorst commented on July 26, 2024

Maybe.... iets because this particular one is not a CWL workflow but a direct CWL CommandLineTool execution...?

from runcrate.

jjkoehorst avatar jjkoehorst commented on July 26, 2024

I think the issue is in

    @staticmethod
    def _set_alternate_name(prov_param, action_p, parent=None):
        basename = getattr(prov_param, "basename", None)
        if not basename:
            return
        if not parent:
            action_p["alternateName"] = basename
            return
        if "alternateName" in parent:
            action_p["alternateName"] = (Path(parent["alternateName"]) / basename).as_posix()
        else:
            # Lets try
            action_p["alternateNameTest"] = basename
            logging.error("Alternate name not captured")

As alternateName is not in parent

Screenshot 2023-05-26 at 11 28 32

from runcrate.

jjkoehorst avatar jjkoehorst commented on July 26, 2024
        {
            "@id": "6935c345f5c98b8f78aa6e230ee3163a22c40fd7/76e01c1c849df0cd7601f63b8700508648b99ec4/f38f9214aef6d512d4986ffe475c11673043ce76",
            "@type": "File",
            "alternateName": "combined/andromeda/allSpectra.UVPD.Unknown.secpep.sil0.apar",
            "sha1": "f38f9214aef6d512d4986ffe475c11673043ce76"
        },

Latest cwltool did the trick

from runcrate.

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.