Skip to content

Execution fails if the notebook imports a file #25

@mosoriob

Description

@mosoriob

I had a notebook main.ipynb that imports a function from the file inference.py

The script generated main is going to fail because the ipython2cwl doesn't copy the inference.py file

#!/usr/bin/env ipython
"""
def main(cameraType, siteID, modelPath):
    import numpy as np
    import inference, hpwren
$ ls
main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions